-@extends('simple-layout')
+@extends('layouts.simple')
@section('body')
<div class="container small">
- <div class="my-l">
- @include('partials.breadcrumbs', ['crumbs' => [
+ <div class="my-s">
+ @include('entities.breadcrumbs', ['crumbs' => [
$shelf,
- $shelf->getUrl('/edit') => trans('entities.shelves_edit')
+ $shelf->getUrl('/edit') => [
+ 'text' => trans('entities.shelves_edit'),
+ 'icon' => 'edit',
+ ]
]])
</div>
- <div class="card content-wrap">
+ <main class="card content-wrap">
<h1 class="list-heading">{{ trans('entities.shelves_edit') }}</h1>
- <form action="{{ $shelf->getUrl() }}" method="POST">
+ <form action="{{ $shelf->getUrl() }}" method="POST" enctype="multipart/form-data">
<input type="hidden" name="_method" value="PUT">
- @include('shelves/form', ['model' => $shelf])
+ @include('shelves.parts.form', ['model' => $shelf])
</form>
- </div>
+ </main>
</div>
- @include('components.image-manager', ['imageType' => 'cover'])
@stop
\ No newline at end of file