Migrate Form::open and Form::close in models bulk actions partial
This commit is contained in:
parent
ac5a409cdf
commit
540b609591
1 changed files with 9 additions and 7 deletions
|
@ -1,10 +1,12 @@
|
|||
<div id="modelsBulkEditToolbar">
|
||||
{{ Form::open([
|
||||
'method' => 'POST',
|
||||
'route' => ['models.bulkedit.index'],
|
||||
'class' => 'form-inline',
|
||||
'id' => 'modelsBulkForm']) }}
|
||||
|
||||
<form
|
||||
method="POST"
|
||||
action="{{route('models.bulkedit.index')}}"
|
||||
accept-charset="UTF-8"
|
||||
class="form-inline"
|
||||
id="modelsBulkForm"
|
||||
>
|
||||
@csrf
|
||||
@if (request('status')!='deleted')
|
||||
@can('delete', \App\Models\AssetModel::class)
|
||||
<div id="models-toolbar">
|
||||
|
@ -17,7 +19,7 @@
|
|||
</div>
|
||||
@endcan
|
||||
@endif
|
||||
{{ Form::close() }}
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue