27 lines
520 B
PHP
Raw Normal View History

2022-06-01 10:15:55 +03:00
<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>