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 custom report page
This commit is contained in:
parent
215fe501ac
commit
d32163f881
|
@ -35,12 +35,13 @@
|
|||
<div class="row">
|
||||
<div class="col-md-8 col-md-offset-1">
|
||||
|
||||
{{ Form::open([
|
||||
'method' => 'post',
|
||||
'class' => 'form-horizontal',
|
||||
'id' => 'custom-report-form',
|
||||
'url' => request()->routeIs('report-templates.edit') ? route('report-templates.update', $template) : '/reports/custom',
|
||||
]) }}
|
||||
<form
|
||||
method="POST"
|
||||
action="{{ request()->routeIs('report-templates.edit') ? route('report-templates.update', $template) : '/reports/custom' }}"
|
||||
accept-charset="UTF-8"
|
||||
class="form-horizontal"
|
||||
id="custom-report-form"
|
||||
>
|
||||
{{csrf_field()}}
|
||||
|
||||
<!-- Horizontal Form -->
|
||||
|
@ -631,7 +632,7 @@
|
|||
@endif
|
||||
</div>
|
||||
</div> <!--/.box.box-default-->
|
||||
{{ Form::close() }}
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<!-- Saved Reports right column -->
|
||||
|
|
Loading…
Reference in a new issue