{** * templates/manager/announcement/announcementTypeForm.tpl * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2000-2015 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Announcement type form under management. * *} {strip} {assign var="pageCrumbTitle" value="$announcementTypeTitle"} {if $typeId} {assign var="pageTitle" value="manager.announcementTypes.edit"} {else} {assign var="pageTitle" value="manager.announcementTypes.create"} {/if} {assign var="pageId" value="manager.announcementTypes.announcementTypeForm"} {include file="common/header.tpl"} {/strip}
{if $typeId} {/if} {include file="common/formErrors.tpl"} {if count($formLocales) > 1} {/if}
{fieldLabel name="formLocale" key="form.formLanguage"} {if $typeId}{url|assign:"announcementTypeUrl" op="editAnnouncementType" path=$typeId escape=false} {else}{url|assign:"announcementTypeUrl" op="createAnnouncementType" escape=false} {/if} {form_language_chooser form="announcementTypeForm" url=$announcementTypeUrl} {translate key="form.formLanguage.description"}
{fieldLabel name="name" required="true" key="manager.announcementTypes.form.typeName"}

{if not $typeId} {/if}

{translate key="common.requiredField"}

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