{** * templates/admin/categories/categoryForm.tpl * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2003-2015 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Category form under site administration. * *} {strip} {assign var="pageId" value="admin.categories.categoryForm"} {assign var="pageCrumbTitle" value=$pageTitle} {include file="common/header.tpl"} {/strip}
{if $category} {/if} {include file="common/formErrors.tpl"} {if count($formLocales) > 1} {/if}
{fieldLabel name="formLocale" key="form.formLanguage"} {if $category}{url|assign:"categoryFormUrl" op="editCategory" path=$category->getId() escape=false} {else}{url|assign:"categoryFormUrl" op="createCategory" escape=false} {/if} {form_language_chooser form="categoryForm" url=$categoryFormUrl} {translate key="form.formLanguage.description"}
{fieldLabel name="name" required="true" key="admin.categories.name"}

{translate key="common.requiredField"}

{include file="common/footer.tpl"}