extend('admin/_layout') ?> section('title') ?> endSection() ?> section('pageTitle') ?> endSection() ?> section('content') ?> id, $episode->id), [ 'method' => 'post', 'class' => 'flex flex-col', ]) ?> 'enclosure', 'name' => 'enclosure', 'class' => 'form-input mb-4', 'type' => 'file', 'accept' => '.mp3,.m4a', ]) ?> <?= $episode->title ?> 'image', 'name' => 'image', 'class' => 'form-input', 'type' => 'file', 'accept' => '.jpg,.jpeg,.png', ]) ?> 'title', 'name' => 'title', 'class' => 'form-input mb-4', 'value' => old('title', $episode->title), 'required' => 'required', 'data-slugify' => 'title', ]) ?> 'slug', 'name' => 'slug', 'class' => 'form-input mb-4', 'value' => old('slug', $episode->slug), 'required' => 'required', 'data-slugify' => 'slug', ]) ?>
'season_number', 'name' => 'season_number', 'class' => 'form-input w-full', 'value' => old('season_number', $episode->season_number), 'type' => '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' ) ?>
'description', 'name' => 'description', 'class' => 'form-textarea', 'required' => 'required', ], old('description', $episode->description_markdown, false), 'data-editor="markdown"' ) ?>
'description_footer', 'name' => 'description_footer', 'class' => 'form-textarea', ], old( 'description_footer', $podcast->episode_description_footer_markdown ?? '', false ), 'data-editor="markdown"' ) ?>
'location_name', 'name' => 'location_name', 'class' => 'form-input mb-4', 'value' => old('location_name', $episode->location_name), ]) ?>
'publication_date', 'name' => 'publication_date', 'class' => 'form-input rounded-r-none flex-1', 'value' => old( 'publication_date', $episode->published_at ? $episode->published_at->format('Y-m-d H:i') : '' ), 'data-input' => '', ]) ?>
'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' ) ?> 'block', 'name' => 'block'], 'yes', old('block', $episode->is_blocked) ) ?> '“podcast namespace”', ]) ) ?>
transcript): ?>
transcriptUrl, icon('file', 'mr-2') . $episode->transcript, [ '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_delete'), ] ) ?>
'transcript', 'name' => 'transcript', 'class' => 'form-input mb-4', 'type' => 'file', 'accept' => '.txt,.html,.srt,.json', ]) ?>
chapters): ?>
chaptersUrl, icon('file', 'mr-2') . $episode->chapters, [ '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_delete'), ] ) ?>
'chapters', 'name' => 'chapters', 'class' => 'form-input mb-4', 'type' => 'file', 'accept' => '.json', ]) ?>
'custom_rss', 'name' => 'custom_rss', 'class' => 'form-textarea', 'value' => old('custom_rss', $episode->custom_rss_string), ]) ?> 'primary'], ['type' => 'submit', 'class' => 'self-end'] ) ?> endSection() ?>