{** * templates/manager/reviewForms/reviewFormElementForm.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 to create/modify a review form element. * *} {strip} {assign var="pageId" value="manager.reviewFormElements.reviewFormElementForm"} {assign var="pageCrumbTitle" value=$pageTitle} {include file="common/header.tpl"} {/strip}
{include file="common/formErrors.tpl"} {if count($formLocales) > 1} {/if}
{fieldLabel name="formLocale" key="form.formLanguage"} {if $reviewFormElementId}{url|assign:"reviewFormElementFormUrl" op="editReviewFormElement" path=$reviewFormId|to_array:$reviewFormElementId escape=false} {else}{url|assign:"reviewFormElementFormUrl" op="createReviewFormElement" path=$reviewFormId escape=false} {/if} {form_language_chooser form="reviewFormElementForm" url=$reviewFormElementFormUrl} {translate key="form.formLanguage.description"}
{fieldLabel name="question" required="true" key="manager.reviewFormElements.question"}
  {fieldLabel name="required" key="manager.reviewFormElements.required"}
  {fieldLabel name="included" key="manager.reviewFormElements.included"}
{fieldLabel name="elementType" required="true" key="manager.reviewFormElements.elementType"}
  {foreach name=responses from=$possibleResponses[$formLocale] key=responseId item=responseItem} {if !$notFirstResponseItem} {assign var=notFirstResponseItem value=1} {/if} {/foreach} {if $notFirstResponseItem}
{translate key="common.order"} {translate key="manager.reviewFormElements.possibleResponse"}
{/if}

{translate key="common.requiredField"}

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