@props([ 'method' => 'POST', 'action', 'onsubmit' => '' ])
@if(!in_array(strtoupper($method), ['GET', 'POST'])) @method($method) @endif @if(strtoupper($method) !== 'GET') @csrf @endif {{ $slot }}