{** * templates/controllers/modals/editorDecision/form/recommendationForm.tpl * * Copyright (c) 2014-2019 Simon Fraser University * Copyright (c) 2003-2019 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Form used to send the editor recommendation * *}
{csrf} {if !empty($editorRecommendations)} {fbvFormSection label="editor.submission.recordedRecommendations"} {foreach from=$editorRecommendations item=editorRecommendation}
{translate key="submission.round" round=$editorRecommendation.round} ({$editorRecommendation.dateDecided|date_format:$datetimeFormatShort}): {translate key=$recommendationOptions[$editorRecommendation.decision]}
{/foreach} {/fbvFormSection} {/if} {fbvFormSection label="editor.submission.recommendation" description=$description|default:"editor.submission.recommendation.description"} {fbvElement type="select" id="recommendation" name="recommendation" from=$recommendationOptions selected=$recommendation size=$fbvStyles.size.MEDIUM required=$required|default:true disabled=$readOnly} {/fbvFormSection} {capture assign="sendEmailLabel"}{translate key="editor.submissionReview.sendEmail.editors" editorNames=$editors}{/capture} {if $skipEmail} {assign var="skipEmailSkip" value=true} {else} {assign var="skipEmailSend" value=true} {/if} {fbvFormSection title="editor.submissionReview.recordRecommendation.notifyEditors"} {/fbvFormSection} {if $skipDiscussion} {assign var="skipDiscussionSkip" value=true} {else} {assign var="skipDiscussionSend" value=true} {/if} {fbvFormSection} {/fbvFormSection}
{fbvFormSection for="personalMessage"} {fbvElement type="textarea" name="personalMessage" id="personalMessage" value=$personalMessage rich=true variables=$allowedVariables variablesType=$allowedVariablesType} {/fbvFormSection}
{fbvFormButtons submitText="editor.submissionReview.recordRecommendation"}