@props([ 'method' => 'POST', 'action', 'hasFiles' => false, 'model' ]) @php $method = strtoupper($method); @endphp
@csrf @if (!in_array($method, ['POST', 'GET'])) @method($method) @endif {{ $slot }}