{{ 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' => true, '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' ])
{{ trans('common.cancel') }}