-@extends('simple-layout')
+@extends('layouts.simple')
@section('body')
<div class="container small">
- <div class="my-l">
- @include('partials.breadcrumbs', ['crumbs' => [
- '/shelves' => trans('entities.shelves'),
- '/create-shelf' => trans('entities.shelves_create')
+ <div class="my-s">
+ @include('entities.breadcrumbs', ['crumbs' => [
+ '/shelves' => [
+ 'text' => trans('entities.shelves'),
+ 'icon' => 'bookshelf',
+ ],
+ '/create-shelf' => [
+ 'text' => trans('entities.shelves_create'),
+ 'icon' => 'add',
+ ]
]])
</div>
- <div class="card content-wrap">
+ <main class="card content-wrap">
<h1 class="list-heading">{{ trans('entities.shelves_create') }}</h1>
- <form action="{{ baseUrl("/shelves") }}" method="POST" enctype="multipart/form-data">
- @include('shelves.form', ['shelf' => null, 'books' => $books])
+ <form action="{{ url("/shelves") }}" method="POST" enctype="multipart/form-data">
+ @include('shelves.parts.form', ['shelf' => null, 'books' => $books])
</form>
- </div>
+ </main>
</div>
- @include('components.image-manager', ['imageType' => 'cover'])
-
@stop
\ No newline at end of file