{** * templates/submission/reviewForm/reviewFormResponse.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. * * Review Form to enter responses/comments/answers. * *} {strip} {if $editorPreview} {include file="submission/comment/header.tpl"} {else} {translate|assign:"pageTitleTranslated" key="submission.reviewFormResponse"} {assign var="pageCrumbTitle" value="submission.reviewFormResponse"} {include file="common/header.tpl"} {include file="common/formErrors.tpl"} {/if} {/strip} {assign var=disabled value=0} {if $isLocked || $editorPreview} {assign var=disabled value=1} {/if}

{$reviewForm->getLocalizedTitle()}

{$reviewForm->getLocalizedDescription()}

getId()}"> {foreach from=$reviewFormElements name=reviewFormElements key=elementId item=reviewFormElement}

{$reviewFormElement->getLocalizedQuestion()} {if $reviewFormElement->getRequired() == 1}*{/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}

{/foreach}
{if $editorPreview}

{else}

{/if}

{translate key="common.requiredField"}

{include file="submission/comment/footer.tpl"}