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