[WIP] Refactor architecture, models

This commit is contained in:
Ludovic CANDELLIER
2020-04-22 01:26:03 +02:00
parent e370174f94
commit a18d30b65c
39 changed files with 446 additions and 266 deletions

View File

@@ -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