[#assign localFileUploaded = false, showDocumentLibrarySelector = input.attributes.selectFromDocumentLibrary?? && input.attributes.selectFromDocumentLibrary ] [#if input.value?? && !showDocumentLibrarySelector] [#assign localFileUploaded = true] [/#if]

Drag and Drop or

${languageUtil.get(locale, 'no-preview-available')}

[#if !input.localizable && input.attributes.unlocalizedFieldsMessage??] [/#if]
[#if !input.readOnly && ((input.showHelpText && input.helpText?has_content) || (configuration.showSupportedFileInfo && input.attributes.maxFileSize??))]

${configuration.showSupportedFileInfo?then(languageUtil.format(locale, "maximum-size-x", input.attributes.maxFileSize!"") + 'MB.', '')} ${input.showHelpText?then(htmlUtil.escape(input.helpText), '' )}

[/#if]
[#if !input.localizable]