mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-13 17:14:10 -08:00
f7449921e9
Nicer locations UI
27 lines
949 B
PHP
27 lines
949 B
PHP
<div id="assetsBulkEditToolbar" style="min-width:400px">
|
|
{{ Form::open([
|
|
'method' => 'POST',
|
|
'route' => ['hardware/bulkedit'],
|
|
'class' => 'form-inline',
|
|
'id' => 'assetsBulkForm']) }}
|
|
|
|
|
|
<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">
|
|
@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
|
|
<option value="labels">{{ trans_choice('button.generate_labels', 2) }}</option>
|
|
</select>
|
|
|
|
<button class="btn btn-primary" id="bulkAssetEditButton" disabled>{{ trans('button.go') }}</button>
|
|
{{ Form::close() }}
|
|
</div>
|