fixes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{{ Form::open(['route' => 'Admin.Shop.Producers.store', 'id' => 'form', 'autocomplete' => 'off', 'files' => true]) }}
|
||||
{{ Form::open(['route' => 'Admin.Shop.Producers.store', 'id' => 'producer-form', 'autocomplete' => 'off', 'files' => true]) }}
|
||||
<input type="hidden" name="id" id="id" value="{{ $producer['id'] ?? false }}">
|
||||
|
||||
<div class="row">
|
||||
@@ -72,12 +72,14 @@
|
||||
@include('boilerplate::load.tinymce')
|
||||
|
||||
@push('js')
|
||||
{!! JsValidator::formRequest('App\Http\Requests\Admin\Shop\StoreProducerPost', '#producer-form') !!}
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
initSelect2();
|
||||
initChevron();
|
||||
initEditor();
|
||||
initSaveForm();
|
||||
initSaveForm('producer-form');
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
Reference in New Issue
Block a user