blob: c44a2a0d5f0387ec269b7f6bcb246750e5ac073d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
@props(['action', 'method' => 'POST'])
<form action="{{ $action }}" method="POST" {{ $attributes }}>
@csrf
@if(!in_array(strtoupper($method), ['GET', 'POST']))
@method($method)
@endif
{{ $slot }}
</form>
|