mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Migrate Form::open in custom field view
This commit is contained in:
parent
532e6c1c1d
commit
80522a2505
|
@ -23,10 +23,10 @@
|
||||||
|
|
||||||
<!-- Horizontal Form -->
|
<!-- Horizontal Form -->
|
||||||
@if ($field->id)
|
@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') }}
|
{{ method_field('PUT') }}
|
||||||
@else
|
@else
|
||||||
{{ Form::open(['route' => 'fields.store', 'class'=>'form-horizontal']) }}
|
<form method="POST" action="{{ route('fields.store') }}" accept-charset="UTF-8" class="form-horizontal">
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@csrf
|
@csrf
|
||||||
|
|
Loading…
Reference in a new issue