{{ __('book.landing_page') }}

{!! FormField::text('due_date', ['value' => Setting::for($book)->get('due_date'), 'label' => __('book.due_date'), 'class' => 'date-select']) !!} {!! FormField::textarea('landing_page_content', ['value' => Purify::clean(Setting::for($book)->get('landing_page_content')), 'label' => __('book.landing_page_content'), 'rows' => 20]) !!}

{{ __('book.poster_image') }}

@if (Setting::for($book)->get('poster_image_path')) {{ Setting::get('masjid_name') ?? 'buku masjid'}} @endif
@php $labelText = __('book.upload_poster'); if (Setting::for($book)->get('poster_image_path')) { $labelText = __('book.change_poster'); } @endphp {!! FormField::file('book_poster_image', [ 'label' => false, 'id' => 'book_poster_image', 'class' => 'd-none', 'info' => ['text' => __('book.poster_rule')] ]) !!}

{{ __('book.thumbnail_image') }}

@if (Setting::for($book)->get('thumbnail_image_path')) {{ Setting::get('masjid_name') ?? 'buku masjid'}} @endif
@php $labelText = __('book.upload_thumbnail'); if (Setting::for($book)->get('thumbnail_image_path')) { $labelText = __('book.change_thumbnail'); } @endphp {!! FormField::file('book_thumbnail_image', [ 'label' => false, 'id' => 'book_thumbnail_image', 'class' => 'd-none', 'info' => ['text' => __('book.thumbnail_rule')] ]) !!}