Skip to content

A free open source IT asset/license management system

Create a new partial for asset bulk actions

snipecf0548bd1f81
diff --git a/resources/views/partials/asset-bulk-actions.blade.php b/resources/views/partials/asset-bulk-actions.blade.php
new file mode 100644
index 0000000000..4a24a34ced
--- /dev/null
+++ b/resources/views/partials/asset-bulk-actions.blade.php
@@ -0,0 +1,22 @@
+<div id="toolbar">
+ {{ Form::open([
+ 'method' => 'POST',
+ 'route' => ['hardware/bulkedit'],
+ 'class' => 'form-inline',
+ 'id' => 'bulkForm']) }}
+
+
+ <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">
+ <option value="edit">{{ trans('button.edit') }}</option>
+ <option value="delete">{{ trans('button.delete') }}</option>
+ <option value="labels">{{ trans_choice('button.generate_labels', 2) }}</option>
+ </select>
+
+ <button class="btn btn-primary" id="bulkEdit" disabled>{{ trans('button.go') }}</button>
+ {{ Form::close() }}
+</div>
\ No newline at end of file