mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Migrate Form::open and Form::close on requested assets page
This commit is contained in:
parent
c4b8b85602
commit
c569a84f87
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue