{** * controllers/modals/submissionMetadata/form/issueEntrySubmissionReviewForm.tpl * * Copyright (c) 2014-2018 Simon Fraser University * Copyright (c) 2003-2018 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Display a submission's issue entry form. * *} {* generate a unique ID for the form *} {assign var="submissionMetadataViewFormId" value="submissionMetadataViewForm-"|uniqid|escape}
{csrf} {assign var="notificationId" value="submissionMetadataViewFormNotification-"|uniqid|escape} {include file="controllers/notification/inPlaceNotification.tpl" notificationId=$notificationId} {include file="submission/form/section.tpl" readOnly=$formParams.readOnly} {include file="core:submission/submissionLocale.tpl" readOnly=$formParams.readOnly} {include file="core:submission/submissionMetadataFormTitleFields.tpl" readOnly=$formParams.readOnly} {* Contributors *} {if !$formParams.hideSubmit || !$formParams.anonymous} {* generate a unique ID for the form *} {assign var="authorsGridContainer" value="authorsGridContainer-"|uniqid|escape} {url|assign:authorGridUrl router=$smarty.const.ROUTE_COMPONENT component="grid.users.author.AuthorGridHandler" op="fetchGrid" submissionId=$submissionId stageId=$stageId escape=false} {load_url_in_div id=$authorsGridContainer url="$authorGridUrl"} {/if} {* Cover Image *} {fbvFormArea id="coverImage" title="editor.article.coverImage"} {if !$formParams.readOnly} {fbvFormSection} {include file="controllers/fileUploadContainer.tpl" id="coverImageUploader"} {/fbvFormSection} {/if} {fbvFormSection id="coverImagePreview"} {if $coverImage != ''}
{$coverImageAlt|escape}
{translate key="common.altText"} {fbvElement type="text" id="coverImageAltText" label="common.altTextInstructions" value=$coverImageAltText readonly=$formParams.readOnly} {if !$formParams.readOnly}
{include file="linkAction/linkAction.tpl" action=$deleteCoverImageLinkAction contextId="issueForm"}
{/if}
{/if} {/fbvFormSection} {/fbvFormArea} {include file="submission/submissionMetadataFormFields.tpl" readOnly=$formParams.readOnly} {if !$formParams.hideSubmit} {fbvFormButtons id="submissionMetadataFormSubmit" submitText="common.save"} {/if}