{** * templates/sectionEditor/previewReviewForm.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. * * Preview of a review form. * *} {strip} {assign var="pageId" value="manager.reviewFormElements.previewReviewForm"} {assign var="pageCrumbTitle" value=$pageTitle} {include file="common/header.tpl"} {/strip}
{$reviewForm->getLocalizedDescription()}
{foreach from=$reviewFormElements name=reviewFormElements item=reviewFormElement}{$reviewFormElement->getLocalizedQuestion()}{if $reviewFormElement->getRequired()}*{/if}
{if $reviewFormElement->getElementType() == REVIEW_FORM_ELEMENT_TYPE_SMALL_TEXT_FIELD}
{elseif $reviewFormElement->getElementType() == REVIEW_FORM_ELEMENT_TYPE_TEXT_FIELD}
{elseif $reviewFormElement->getElementType() == REVIEW_FORM_ELEMENT_TYPE_TEXTAREA}
{elseif $reviewFormElement->getElementType() == REVIEW_FORM_ELEMENT_TYPE_CHECKBOXES}
{assign var=possibleResponses value=$reviewFormElement->getLocalizedPossibleResponses()}
{foreach name=responses from=$possibleResponses key=responseId item=responseItem}
{/foreach}
{elseif $reviewFormElement->getElementType() == REVIEW_FORM_ELEMENT_TYPE_RADIO_BUTTONS}
{assign var=possibleResponses value=$reviewFormElement->getLocalizedPossibleResponses()}
{foreach name=responses from=$possibleResponses key=responseId item=responseItem}
{/foreach}
{elseif $reviewFormElement->getElementType() == REVIEW_FORM_ELEMENT_TYPE_DROP_DOWN_BOX}
{/if}
{translate key="common.requiredField"}
{include file="common/footer.tpl"}