@extends('layouts.simple') @section('body')
@if (isset($bookshelf)) @include('entities.breadcrumbs', ['crumbs' => [ $bookshelf, $bookshelf->getUrl('/create-book') => [ 'text' => trans('entities.books_create'), 'icon' => 'add' ] ]]) @else @include('entities.breadcrumbs', ['crumbs' => [ '/books' => [ 'text' => trans('entities.books'), 'icon' => 'book' ], '/create-book' => [ 'text' => trans('entities.books_create'), 'icon' => 'add' ] ]]) @endif

{{ trans('entities.books_create') }}

@include('books.parts.form', [ 'returnLocation' => $bookshelf?->getUrl() ?? url('/books') ])
@stop