2022-06-05 21:02:51 -07:00
|
|
|
<div id="assetsBulkEditToolbar" style="min-width:400px">
|
2022-05-06 05:11:52 -07:00
|
|
|
{{ Form::open([
|
|
|
|
'method' => 'POST',
|
|
|
|
'route' => ['hardware/bulkedit'],
|
|
|
|
'class' => 'form-inline',
|
2022-06-05 21:02:51 -07:00
|
|
|
'id' => 'assetsBulkForm']) }}
|
2022-05-06 05:11:52 -07:00
|
|
|
|
|
|
|
|
|
|
|
<label for="bulk_actions">
|
|
|
|
<span class="sr-only">
|
|
|
|
{{ trans('button.bulk_actions') }}
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<select name="bulk_actions" class="form-control select2" aria-label="bulk_actions">
|
2022-06-05 22:41:53 -07:00
|
|
|
@can('update', \App\Models\Asset::class)
|
|
|
|
<option value="edit">{{ trans('button.edit') }}</option>
|
|
|
|
@endcan
|
|
|
|
@can('delete', \App\Models\Asset::class)
|
|
|
|
<option value="delete">{{ trans('button.delete') }}</option>
|
|
|
|
@endcan
|
2022-05-06 05:11:52 -07:00
|
|
|
<option value="labels">{{ trans_choice('button.generate_labels', 2) }}</option>
|
|
|
|
</select>
|
|
|
|
|
2022-06-05 21:02:51 -07:00
|
|
|
<button class="btn btn-primary" id="bulkAssetEditButton" disabled>{{ trans('button.go') }}</button>
|
2022-05-06 05:11:52 -07:00
|
|
|
{{ Form::close() }}
|
2022-06-05 22:41:53 -07:00
|
|
|
</div>
|