@push('head') @endpush {{ csrf_field() }}
@include('form.text', ['name' => 'name', 'autofocus' => true])
@include('form.description-html-input')
{{ trans('entities.shelves_drag_books') }}

{{ trans('common.cover_image_description') }}

@include('form.image-picker', [ 'defaultImage' => url('/book_default_cover.png'), 'currentImage' => (isset($shelf) && $shelf->cover) ? $shelf->getBookCover() : url('/book_default_cover.png') , 'name' => 'image', 'imageClass' => 'cover' ])
@include('entities.tag-manager', ['entity' => $shelf ?? null])
{{ trans('common.cancel') }}
@include('entities.selector-popup', ['entityTypes' => 'page', 'selectorEndpoint' => '/search/entity-selector-templates']) @include('form.editor-translations')