A free open source IT asset/license management system
Migrate Form::open and Form::close in asset bulk actions partial
Marcus Moore1dc579ce7142
diff --git a/resources/views/partials/asset-bulk-actions.blade.php b/resources/views/partials/asset-bulk-actions.blade.phpindex 992fb52bba..dec9b0f296 100644--- a/resources/views/partials/asset-bulk-actions.blade.php+++ b/resources/views/partials/asset-bulk-actions.blade.php@@ -1,10 +1,12 @@<div id="{{ (isset($id_divname)) ? $id_divname : 'assetsBulkEditToolbar' }}" style="min-width:400px">-{{ Form::open([- 'method' => 'POST',- 'route' => ['hardware/bulkedit'],- 'class' => 'form-inline',- 'id' => (isset($id_formname)) ? $id_formname : 'assetsBulkForm',- ]) }}+ <form+ method="POST"+ action="{{ route('hardware/bulkedit') }}"+ accept-charset="UTF-8"+ class="form-inline"+ id="{{ (isset($id_formname)) ? $id_formname : 'assetsBulkForm' }}"+>+ @csrf{{-- The sort and order will only be used if the cookie is actually empty (like on first-use) --}}<input name="sort" type="hidden" value="assets.id">@@ -34,5 +36,5 @@</select><button class="btn btn-primary" id="{{ (isset($id_button)) ? $id_button : 'bulkAssetEditButton' }}" disabled>{{ trans('button.go') }}</button>- {{ Form::close() }}+ </form></div>