[WIP] Refactor architecture, models
This commit is contained in:
@@ -1,16 +1,27 @@
|
||||
@extends('layout.index', [
|
||||
'title' => __('Botanic.species.title'),
|
||||
'subtitle' => __('Botanic.species.edit'),
|
||||
'breadcrumb' => ['Botanic.species.title']
|
||||
'breadcrumb' => [__('Botanic.species.title'), __('Botanic.species.list')]
|
||||
])
|
||||
|
||||
@include('boilerplate::load.fileinput')
|
||||
@include('boilerplate::load.select2')
|
||||
|
||||
@section('content')
|
||||
|
||||
{{ Form::open(['route' => 'Botanic.Admin.Species.store', 'id' => 'form', 'autocomplete' => 'off']) }}
|
||||
<input type="hidden" name="id" value="{{ $specie['id'] }}">
|
||||
{{ Form::open(['route' => 'Botanic.Admin.Species.store', 'id' => 'form', 'autocomplete' => 'off', 'files' => true]) }}
|
||||
<input type="hidden" name="id" value="{{ $id }}">
|
||||
|
||||
@include('Botanic.Admin.Species.form')
|
||||
|
||||
</form>
|
||||
|
||||
@endsection
|
||||
|
||||
@push('js')
|
||||
<script>
|
||||
$(function() {
|
||||
$(".select2").select2();
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
Reference in New Issue
Block a user