Skip to content

A free open source IT asset/license management system

Migrate Form::open in custom field view

Marcus Moore80522a2505bb
diff --git a/resources/views/custom_fields/fields/edit.blade.php b/resources/views/custom_fields/fields/edit.blade.php
index e20f24af79..c1ec3637cd 100644
--- a/resources/views/custom_fields/fields/edit.blade.php
+++ b/resources/views/custom_fields/fields/edit.blade.php
@@ -23,10 +23,10 @@
<!-- Horizontal Form -->
@if ($field->id)
- {{ Form::open(['route' => ['fields.update', $field->id], 'class'=>'form-horizontal']) }}
+ <form method="POST" action="{{ route('fields.update', $field->id) }}" accept-charset="UTF-8" class="form-horizontal">
{{ method_field('PUT') }}
@else
- {{ Form::open(['route' => 'fields.store', 'class'=>'form-horizontal']) }}
+ <form method="POST" action="{{ route('fields.store') }}" accept-charset="UTF-8" class="form-horizontal">
@endif
@csrf