akaunting 3.0 (the last dance)
This commit is contained in:
26
resources/views/components/form/index.blade.php
Normal file
26
resources/views/components/form/index.blade.php
Normal file
@ -0,0 +1,26 @@
|
||||
<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>
|
Reference in New Issue
Block a user