mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Change the inline form HTML label to the Form:: facade
This commit is contained in:
parent
62347a56ba
commit
b647a8fcd2
|
@ -104,7 +104,12 @@
|
|||
</td>
|
||||
<td>{{ App\Helpers\Helper::getFormattedDateObject($request->created_at, 'datetime', false) }}</td>
|
||||
<td>
|
||||
<form action="{{ config('app.url') }}/account/request-asset/{{ $request->requestable->id }}'" method="POST">@csrf<button class="btn btn-danger btn-sm" data-tooltip="true" title="Cancel this item request">{{ trans('button.cancel') }}</button></form>
|
||||
{{ Form::open([
|
||||
'method' => 'POST',
|
||||
'route' => ['account/request-asset', $request->requestable->id],
|
||||
]) }}
|
||||
<button class="btn btn-danger btn-sm" data-tooltip="true" title="Cancel this item request">{{ trans('button.cancel') }}</button>
|
||||
{{ Form::close() }}
|
||||
</td>
|
||||
<td>
|
||||
@if ($request->itemType() == "asset")
|
||||
|
|
Loading…
Reference in a new issue