= t("Dynamic Albums") ?>
= form::open("admin/dynamic/handler", array("id" => "g-admin-form")) ?>
= access::csrf_form_field() ?>
foreach ($tabs as $album => $label): ?>
- = $label ?>
endforeach ?>
foreach (array("updates", "popular") as $album): ?>
-
= form::label("{$album}_enabled", t("Enable")) ?>
= form::checkbox("{$album}_enabled", 1, $form["{$album}_enabled"], "style='float: none'") ?>
-
= form::label("{$album}_limit", t("Limit (leave empty for unlimited)")) ?>
= form::input("{$album}_limit", $form["{$album}_limit"]) ?>
= empty($errors["{$album}_limit"]) ? "" : "" . t("Limit must be numeric") ?>
-
= form::label("{$album}_description", t("Description")) ?>
= form::textarea("{$album}_description", $form["{$album}_description"]) ?>
= empty($errors["{$album}_description"]) ? "" : "" . t("Description must be less than 2048 bytes") ?>
endforeach ?>
= form::submit("submit", t("Submit")) ?>