{** * plugins/generic/staticPages/editStaticPageForm.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. * * Form for editing a Static Page * *} {strip} {if $staticPageId} {assign var="pageTitle" value="plugins.generic.staticPages.editStaticPage"} {else} {assign var="pageTitle" value="plugins.generic.staticPages.addStaticPage"} {/if} {include file="common/header.tpl"} {/strip} {translate key="plugins.generic.staticPages.editInstructions"}
{translate key="plugins.generic.staticPages.viewInstructions" pagesPath=$pagesPath|replace:"REPLACEME":"%PATH%"}

{if $staticPageId} {/if} {include file="common/formErrors.tpl"} {if count($formLocales) > 1} {/if}
{fieldLabel name="formLocale" key="form.formLanguage"} {if $staticPageId}{plugin_url|assign:"staticPageEditUrl" path="edit"|to_array:$staticPageId} {else}{plugin_url|assign:"staticPageEditUrl" path="edit"|to_array:$staticPageId}{/if} {form_language_chooser form="editStaticPageForm" url=$staticPageEditUrl} {translate key="form.formLanguage.description"}
{fieldLabel required="true" name="pagePath" key="plugins.generic.staticPages.path"}
{fieldLabel required="true" name="title" key="plugins.generic.staticPages.pageTitle"}
{fieldLabel required="true" name="content" key="plugins.generic.staticPages.content"}
Powered by TinyMCE

{translate key="common.requiredField"}

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