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>
|
||||||
<td>{{ App\Helpers\Helper::getFormattedDateObject($request->created_at, 'datetime', false) }}</td>
|
<td>{{ App\Helpers\Helper::getFormattedDateObject($request->created_at, 'datetime', false) }}</td>
|
||||||
<td>
|
<td>
|
||||||
{{ Form::open([
|
<form
|
||||||
'method' => 'POST',
|
method="POST"
|
||||||
'route' => [
|
action="{{ route('account/request-item', [
|
||||||
'account/request-item',
|
|
||||||
$request->itemType(),
|
$request->itemType(),
|
||||||
$request->requestable->id,
|
$request->requestable->id,
|
||||||
true,
|
true,
|
||||||
$request->requestingUser()->id
|
$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>
|
<button class="btn btn-warning btn-sm" data-tooltip="true" title="{{ trans('general.cancel_request') }}">{{ trans('button.cancel') }}</button>
|
||||||
{{ Form::close() }}
|
</form>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
@if ($request->itemType() == "asset")
|
@if ($request->itemType() == "asset")
|
||||||
|
|
Loading…
Reference in a new issue