2022-10-20 19:06:58 -07:00
|
|
|
<div id="{{ (isset($id_divname)) ? $id_divname : 'assetsBulkEditToolbar' }}" style="min-width:400px">
|
|
|
|
{{ Form::open([
|
2022-05-06 05:11:52 -07:00
|
|
|
'method' => 'POST',
|
|
|
|
'route' => ['hardware/bulkedit'],
|
|
|
|
'class' => 'form-inline',
|
2022-10-20 19:06:58 -07:00
|
|
|
'id' => (isset($id_formname)) ? $id_formname : 'assetsBulkForm',
|
|
|
|
]) }}
|
2022-05-06 05:11:52 -07:00
|
|
|
|
|
|
|
|
|
|
|
<label for="bulk_actions">
|
|
|
|
<span class="sr-only">
|
|
|
|
{{ trans('button.bulk_actions') }}
|
|
|
|
</span>
|
|
|
|
</label>
|
2023-03-18 00:14:57 -07:00
|
|
|
<select name="bulk_actions" class="form-control select2" aria-label="bulk_actions" style="min-width: 350px;">
|
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-10-11 12:00:15 -07:00
|
|
|
<option value="labels" accesskey="l">{{ trans_choice('button.generate_labels', 2) }}</option>
|
2022-05-06 05:11:52 -07:00
|
|
|
</select>
|
|
|
|
|
2022-10-20 19:06:58 -07:00
|
|
|
<button class="btn btn-primary" id="{{ (isset($id_button)) ? $id_button : '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>
|