Skip to content

A free open source IT asset/license management system

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

Marcus Moored32163f881c8
diff --git a/resources/views/reports/custom.blade.php b/resources/views/reports/custom.blade.php
index 3a2d5b254f..766d0beb97 100644
--- a/resources/views/reports/custom.blade.php
+++ b/resources/views/reports/custom.blade.php
@@ -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 -->