27 lines
520 B
PHP
27 lines
520 B
PHP
|
<form
|
||
|
method="POST"
|
||
|
action="{{ $action }}"
|
||
|
@if ($class)
|
||
|
class="{{ $class }}"
|
||
|
@endif
|
||
|
@if ($role)
|
||
|
role="form"
|
||
|
@endif
|
||
|
@if ($novalidate)
|
||
|
novalidate="{{ $novalidate }}"
|
||
|
@endif
|
||
|
@if ($enctype)
|
||
|
enctype="{{ $enctype }}"
|
||
|
@endif
|
||
|
@if ($acceptCharset)
|
||
|
accept-charset="{{ $acceptCharset }}"
|
||
|
@endif
|
||
|
@submit.prevent="{{ $submit }}"
|
||
|
@keydown="form.errors.clear($event.target.name)"
|
||
|
{{ $attributes }}
|
||
|
>
|
||
|
@csrf
|
||
|
@method($method)
|
||
|
{{ $slot }}
|
||
|
</form>
|