= $this->extend('admin/_layout') ?>
= $this->section('title') ?>
= lang('Podcast.import') ?>
= $this->endSection() ?>
= $this->section('content') ?>
= form_open_multipart(route_to('podcast_import'), [
'method' => 'post',
'class' => 'flex flex-col max-w-md',
]) ?>
= csrf_field() ?>
= form_label(lang('Podcast.form.language'), 'language') ?>
= form_dropdown('language', $languageOptions, old('language', $browserLang), [
'id' => 'language',
'class' => 'form-select mb-4',
'required' => 'required',
]) ?>
= form_label(lang('Podcast.form.category'), 'category') ?>
= form_dropdown('category', $categoryOptions, old('category'), [
'id' => 'category',
'class' => 'form-select mb-4',
'required' => 'required',
]) ?>
= form_fieldset(lang('Podcast.form_import.slug_field.label'), [
'class' => 'flex flex-col mb-4',
]) ?>
= form_fieldset_close() ?>
= form_fieldset(lang('Podcast.form_import.description_field.label'), [
'class' => 'flex flex-col mb-4',
]) ?>
= form_fieldset_close() ?>
= form_close() ?>
= $this->endSection() ?>