= $html->error_messages_for($episode); ?>
= $f->label("episode", "Episode Number:", array("class" => "required")); ?>
= $f->text_field("episode", array("style" => "width: 2em;")); ?>
= $f->label("is_pending", "Pending:", array("class" => "required")); ?>
= $f->check_box("is_pending") ?> (Will not show up on the website or RSS
feeds)
= $f->label("air_date", "Date:", array("class" => "required")); ?>
= $f->text_field("air_date", array("style" => "width: 300px;",
"value" => $f->form_object->air_date->format("Y-m-d H:i"))); ?>
= $f->label("title", "Title:", array("class" => "required")); ?>
= $f->text_field("title", array("style" => "width: 300px;")); ?>
= $f->label("custom_artwork_url", "Custom Artwork URL:",
array("class" => "required")); ?>
= $f->text_field("custom_artwork_url", array("style" => "width: 500px;",
"placeholder" => "Usually blank, otherwise must be absolute URL")) ?>
= $f->label("custom_author", "Custom Author:",
array("class" => "required")); ?>
= $f->text_field("custom_author", array("style" => "width: 500px;",
"placeholder" => "Usually blank, can be used for solo or guest shows")) ?>
= $f->label("is_explicit", "Explicit Content:", array("class" => "required")); ?>
= $f->check_box("is_explicit") ?>
= $f->label("duration", "Duration:", array("class" => "required")); ?>
= $f->text_field("duration", array("style" => "width: 5em;")) ?>
((h:)?m?m:ss)
if ($f->form_object->id) { ?>
= $f->label("filesize", "File size:", array("class" => "required")); ?>
= $helper->bytes_h($f->form_object->filesize) ?> bytes
} ?>
= $f->label("new_mp3", ($f->form_object->id ? "Replace " : "")
. "MP3 file:", array("class" => "required")); ?>
= $f->file_field("new_mp3") ?>
= $f->label("notes", "Show Notes:", array("class" => "required")); ?>
= $f->text_area("notes", array("class" => "fixed",
"style" => "width: 400px; height: 350px; font-size: 9pt;")); ?>