Add id for form in form template
This commit is contained in:
parent
9b91b9068a
commit
c6c5fe1741
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
@if ($form['action'])
|
||||
<form class="f-form" method="post" action="{!! $form['action'] !!}" @if ($form['enctype']) enctype="{{ $form['enctype'] }}" @endif>
|
||||
<form @if ($form['id']) id="{!! $form['id'] !!}" @endif class="f-form" method="post" action="{!! $form['action'] !!}" @if ($form['enctype']) enctype="{{ $form['enctype'] }}" @endif>
|
||||
@if ($form['hidden'])
|
||||
@foreach ($form['hidden'] as $key => $val)
|
||||
<input type="hidden" name="{{ $key }}" value="{{ $val }}">
|
||||
|
|
Loading…
Add table
Reference in a new issue