extend('Modules\Admin\Views\_layout') ?> section('title') ?> endSection() ?> section('pageTitle') ?> endSection() ?> section('content') ?> id, $episode->id), [ 'method' => 'post', 'class' => 'flex flex-col', ]) ?> image->medium_url . '" alt="' . $episode->title . '" class="w-48" />', ) ?> lang('Episode.form.audio_file'), 'hint' => lang('Episode.form.audio_file_hint'),], ['for' => 'audio_file'], ) ?> 'audio_file', 'name' => 'audio_file', 'class' => 'form-input mb-4', 'type' => 'file', 'accept' => '.mp3,.m4a', ]) ?> lang('Episode.form.image'), 'hint' => lang('Episode.form.image_hint'), 'isOptional' => true,], ['for' => 'image',] ) ?> 'image', 'name' => 'image', 'class' => 'form-input', 'type' => 'file', 'accept' => '.jpg,.jpeg,.png', ]) ?> lang('Episode.form.title'), 'hint' => lang('Episode.form.title_hint'),], ['for' => 'title',] ) ?> 'title', 'name' => 'title', 'class' => 'form-input mb-4', 'value' => old('title', $episode->title), 'required' => 'required', 'data-slugify' => 'title', ]) ?> lang('Episode.form.permalink') ], ['for' => 'slug',] ) ?> handle . '/episodes') . '/' ?> 'slug', 'name' => 'slug', 'class' => 'form-input flex-1 w-0 text-xs', 'value' => old('slug', $episode->slug), 'required' => 'required', 'data-slugify' => 'slug', 'slot' => 'slug-input' ]) ?>
lang('Episode.form.season_number')], ['for' => 'season_number']) ?> 'season_number', 'name' => 'season_number', 'class' => 'form-input w-full', 'value' => old('season_number', $episode->season_number), 'type' => 'number', ]) ?>
lang('Episode.form.episode_number')], ['for' => 'episode_number']) ?> 'episode_number', 'name' => 'episode_number', 'class' => 'form-input w-full', 'value' => old('episode_number', $episode->number), 'type' => 'number', ]) ?>
'flex mb-4 gap-1']) ?> 'full', 'name' => 'type', 'class' => 'form-radio-btn'], 'full', old('type') ? old('type') === 'full' : $episode->type === 'full', ) ?> 'trailer', 'name' => 'type', 'class' => 'form-radio-btn'], 'trailer', old('type') ? old('type') === 'trailer' : $episode->type === 'trailer', ) ?> 'bonus', 'name' => 'type', 'class' => 'form-radio-btn'], 'bonus', old('type') ? old('type') === 'bonus' : $episode->type === 'bonus', ) ?> 'mb-6']) ?> 'undefined', 'name' => 'parental_advisory', 'class' => 'form-radio-btn', ], 'undefined', old('parental_advisory') ? old('parental_advisory') === 'undefined' : $episode->parental_advisory === null, ) ?> 'clean', 'name' => 'parental_advisory', 'class' => 'form-radio-btn', ], 'clean', old('parental_advisory') ? old('parental_advisory') === 'clean' : $episode->parental_advisory === 'clean', ) ?> 'explicit', 'name' => 'parental_advisory', 'class' => 'form-radio-btn', ], 'explicit', old('parental_advisory') ? old('parental_advisory') === 'explicit' : $episode->parental_advisory === 'explicit', ) ?>
lang('Episode.form.description')], ['for' => 'description']) ?> old('description', $episode->description_markdown, false), ], [ 'id' => 'description', 'name' => 'description', 'required' => 'required', ], ) ?>
lang('Episode.form.description_footer'), 'hint' => lang('Episode.form.description_footer_hint'), 'isOptional' => true ], ['for' => 'description_footer'], ) ?> old( 'description_footer', $podcast->episode_description_footer_markdown ?? '', false, ), ], [ 'id' => 'description_footer', 'name' => 'description_footer', 'rows' => 6 ], ) ?>
lang('Episode.form.location_name'), 'hint' => lang('Episode.form.location_name_hint'), 'isOptional' => true ], ['for' => 'location_name'] ) ?> 'location_name', 'name' => 'location_name', 'class' => 'form-input mb-4', 'value' => old('location_name', $episode->location_name), ]) ?> '“podcast namespace”', ]), ) ?> 'flex flex-col mb-4']) ?> (' . lang('Common.optional') . ')' . hint_tooltip(lang('Episode.form.transcript_hint'), 'ml-1') ?>
transcript_file_remote_url ? '' : 'checked' ?> /> transcript_file_remote_url ? 'checked' : '' ?> />
transcript_file) : ?>
transcript_file_url, icon('file', 'mr-2 text-gray-500') . $episode->transcript_file, [ 'class' => 'inline-flex items-center text-xs', 'target' => '_blank', 'rel' => 'noreferrer noopener', ], ) . anchor( route_to( 'transcript-delete', $podcast->id, $episode->id, ), icon('delete-bin', 'mx-auto'), [ 'class' => 'p-1 bg-red-200 rounded-full text-red-700 hover:text-red-900', 'data-toggle' => 'tooltip', 'data-placement' => 'bottom', 'title' => lang( 'Episode.form.transcript_file_delete', ), ], ) ?>
lang('Episode.form.transcript_file'), 'isOptional' => true ], ['for' => 'transcript_file', 'class' => 'sr-only'], ) ?> 'transcript_file', 'name' => 'transcript_file', 'class' => 'form-input', 'type' => 'file', 'accept' => '.txt,.html,.srt,.json', ]) ?>
lang('Episode.form.transcript_file_remote_url'), 'isOptional' => true ], ['for' => 'transcript_file_remote_url', 'class' => 'sr-only'], ) ?> 'transcript_file_remote_url', 'name' => 'transcript_file_remote_url', 'class' => 'form-input w-full', 'type' => 'url', 'placeholder' => 'https://...', 'value' => old( 'transcript_file_remote_url', $episode->transcript_file_remote_url, ), ]) ?>
'flex flex-col mb-4']) ?> (' . lang('Common.optional') . ')' . hint_tooltip(lang('Episode.form.chapters_hint'), 'ml-1') ?>
chapters_file_remote_url ? '' : 'checked' ?> /> chapters_file_remote_url ? 'checked' : '' ?> />
chapters_file) : ?>
chapters_file_url, icon('file', 'mr-2') . $episode->chapters_file, [ 'class' => 'inline-flex items-center text-xs', 'target' => '_blank', 'rel' => 'noreferrer noopener', ], ) . anchor( route_to( 'chapters-delete', $podcast->id, $episode->id, ), icon('delete-bin', 'mx-auto'), [ 'class' => 'p-1 bg-red-200 rounded-full text-red-700 hover:text-red-900', 'data-toggle' => 'tooltip', 'data-placement' => 'bottom', 'title' => lang( 'Episode.form.chapters_file_delete', ), ], ) ?>
lang('Episode.form.chapters_file'), 'isOptional' => true ], ['for' => 'chapters_file', 'class' => 'sr-only'], ) ?> 'chapters_file', 'name' => 'chapters_file', 'class' => 'form-input', 'type' => 'file', 'accept' => '.json', ]) ?>
lang('Episode.form.chapters_file_remote_url'), 'isOptional' => true ], [ 'for' => 'chapters_file_remote_url', 'class' => 'sr-only' ], ) ?> 'chapters_file_remote_url', 'name' => 'chapters_file_remote_url', 'class' => 'form-input w-full', 'type' => 'url', 'placeholder' => 'https://...', 'value' => old( 'chapters_file_remote_url', $episode->chapters_file_remote_url, ), ]) ?>
lang('Episode.form.custom_rss'), 'hint' => lang('Episode.form.custom_rss_hint'), 'isOptional' => true, ], [ 'for' => 'custom_rss', ] ) ?> old('custom_rss', $episode->custom_rss_string) ], [ 'id' => 'custom_rss', 'name' => 'custom_rss', ] ) ?> lang('Episode.form.block'), 'hint' => lang('Episode.form.block_hint') ], [ 'id' => 'block', 'name' => 'block', 'value' => 'yes', 'checked' => old('block', $episode->is_blocked), ] ) ?> 'primary'], ['type' => 'submit', 'class' => 'self-end'], ) ?> endSection() ?>