{** * templates/controllers/grid/files/submissionDocuments/form/newFileForm.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. * * Library Files form *}
{csrf} {include file="controllers/notification/inPlaceNotification.tpl" notificationId="libraryFileUploadNotification"} {fbvFormArea id="name"} {fbvFormSection title="common.name" required=true} {fbvElement type="text" multilingual="true" id="libraryFileName" value=$libraryFileName maxlength="255" required=true} {/fbvFormSection} {/fbvFormArea} {fbvFormArea id="type"} {fbvFormSection title="common.type" required=true} {fbvElement type="select" from=$fileTypes id="fileType" selected=$fileType defaultValue="" defaultLabel="common.chooseOne"|translate required=true} {/fbvFormSection} {/fbvFormArea} {fbvFormArea id="file"} {fbvFormSection title="common.file" required=true} {include file="controllers/fileUploadContainer.tpl" id="plupload"} {/fbvFormSection} {/fbvFormArea}

{translate key="common.requiredField"}

{fbvFormButtons}