mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Migrate Form::open and Form::close in locations bulk actions partial
This commit is contained in:
parent
1dc579ce71
commit
ac5a409cdf
|
@ -1,11 +1,13 @@
|
||||||
@can('delete', \App\Models\Location::class)
|
@can('delete', \App\Models\Location::class)
|
||||||
<div id="locationsBulkEditToolbar">
|
<div id="locationsBulkEditToolbar">
|
||||||
{{ Form::open([
|
<form
|
||||||
'method' => 'POST',
|
method="POST"
|
||||||
'route' => ['locations.bulkdelete.show'],
|
action="{{ route('locations.bulkdelete.show') }}"
|
||||||
'class' => 'form-inline',
|
accept-charset="UTF-8"
|
||||||
'id' => 'locationsBulkForm']) }}
|
class="form-inline"
|
||||||
|
id="locationsBulkForm"
|
||||||
|
>
|
||||||
|
@csrf
|
||||||
<div id="locations-toolbar">
|
<div id="locations-toolbar">
|
||||||
<label for="bulk_actions" class="sr-only">{{ trans('general.bulk_actions') }}</label>
|
<label for="bulk_actions" class="sr-only">{{ trans('general.bulk_actions') }}</label>
|
||||||
<select name="bulk_actions" class="form-control select2" style="width: 200px;" aria-label="bulk_actions">
|
<select name="bulk_actions" class="form-control select2" style="width: 200px;" aria-label="bulk_actions">
|
||||||
|
@ -14,7 +16,7 @@
|
||||||
<button class="btn btn-primary" id="bulkLocationsEditButton" disabled>{{ trans('button.go') }}</button>
|
<button class="btn btn-primary" id="bulkLocationsEditButton" disabled>{{ trans('button.go') }}</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ Form::close() }}
|
</form>
|
||||||
</div>
|
</div>
|
||||||
@endcan
|
@endcan
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue