From b647a8fcd242ba7821badf9165ea71d09e25a07b Mon Sep 17 00:00:00 2001 From: Ivan Nieto Vivanco Date: Tue, 27 Jun 2023 17:02:25 -0600 Subject: [PATCH] Change the inline form HTML label to the Form:: facade --- resources/views/hardware/requested.blade.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/resources/views/hardware/requested.blade.php b/resources/views/hardware/requested.blade.php index 36bcd74040..beccf44725 100644 --- a/resources/views/hardware/requested.blade.php +++ b/resources/views/hardware/requested.blade.php @@ -104,7 +104,12 @@ {{ App\Helpers\Helper::getFormattedDateObject($request->created_at, 'datetime', false) }} -
@csrf
+ {{ Form::open([ + 'method' => 'POST', + 'route' => ['account/request-asset', $request->requestable->id], + ]) }} + + {{ Form::close() }} @if ($request->itemType() == "asset")