A free open source IT asset/license management system
Migrate Form::open and Form::close on requested assets page
Marcus Moorec569a84f8794
diff --git a/resources/views/hardware/requested.blade.php b/resources/views/hardware/requested.blade.phpindex 969bf991a6..3c54445bd4 100644--- a/resources/views/hardware/requested.blade.php+++ b/resources/views/hardware/requested.blade.php@@ -100,18 +100,19 @@</td><td>{{ App\Helpers\Helper::getFormattedDateObject($request->created_at, 'datetime', false) }}</td><td>- {{ Form::open([- 'method' => 'POST',- 'route' => [- 'account/request-item',+ <form+ method="POST"+ action="{{ route('account/request-item', [$request->itemType(),$request->requestable->id,- true,- $request->requestingUser()->id- ],- ]) }}+ true,+ $request->requestingUser()->id+ ]) }}"+ accept-charset="UTF-8"+ >+ @csrf<button class="btn btn-warning btn-sm" data-tooltip="true" title="{{ trans('general.cancel_request') }}">{{ trans('button.cancel') }}</button>- {{ Form::close() }}+ </form></td><td>@if ($request->itemType() == "asset")