Migrate Form::open and Form::close on custom report page

This commit is contained in:
Marcus Moore 2025-02-12 12:43:51 -08:00
parent 215fe501ac
commit d32163f881
No known key found for this signature in database

View file

@ -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 -->