{{ __('book.landing_page') }}
@can('update', $book) {{ link_to_route('books.edit', __('app.edit'), [$book, 'tab' => 'landing_page'], ['class' => 'btn btn-sm btn-warning text-dark mr-2', 'id' => 'edit_landing_page-book-'.$book->id]) }} @endcan
{{ __('book.due_date') }}: {{ Setting::for($book)->get('due_date') }}
@if (Setting::for($book)->get('landing_page_content')) {!! Purify::clean(Setting::for($book)->get('landing_page_content')) !!} @else {{ __('book.landing_page_content') }} @endif
{{ __('book.poster_image') }}
@if (Setting::for($book)->get('poster_image_path')) {{ $book->name }} @else {{ __('book.poster_image') }} @endif
{{ __('book.thumbnail_image') }}
@if (Setting::for($book)->get('thumbnail_image_path')) {{ $book->name }} @else {{ __('book.thumbnail_image') }} @endif