{{ csrf_field() }}
@include('form/text', ['name' => 'name'])
@include('form/textarea', ['name' => 'description'])

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

@include('components.image-picker', [ 'resizeHeight' => '512', 'resizeWidth' => '512', 'showRemove' => false, 'defaultImage' => baseUrl('/book_default_cover.png'), 'currentImage' => @isset($model) ? $model->getBookCover() : baseUrl('/book_default_cover.png') , 'currentId' => @isset($model) ? $model->image_id : 0, 'name' => 'image_id', 'imageClass' => 'cover' ])
@include('components.tag-manager', ['entity' => isset($book)?$book:null, 'entityType' => 'chapter'])
{{ trans('common.cancel') }}