From 1dc579ce714252fa53a508259cc6741b19718f85 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Wed, 12 Feb 2025 11:49:13 -0800 Subject: [PATCH] Migrate Form::open and Form::close in asset bulk actions partial --- .../views/partials/asset-bulk-actions.blade.php | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/resources/views/partials/asset-bulk-actions.blade.php b/resources/views/partials/asset-bulk-actions.blade.php index 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 @@
-{{ Form::open([ - 'method' => 'POST', - 'route' => ['hardware/bulkedit'], - '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) --}} @@ -34,5 +36,5 @@ - {{ Form::close() }} +