2020-10-04 22:49:33 -07:00
|
|
|
<div
|
|
|
|
class="ui dropzone"
|
|
|
|
id="dropzone"
|
2020-10-10 16:49:59 -07:00
|
|
|
data-link-url="{{.UploadLinkUrl}}"
|
2020-10-04 22:49:33 -07:00
|
|
|
data-upload-url="{{.UploadUrl}}"
|
|
|
|
data-remove-url="{{.UploadRemoveUrl}}"
|
|
|
|
data-accepts="{{.UploadAccepts}}"
|
|
|
|
data-max-file="{{.UploadMaxFiles}}"
|
|
|
|
data-max-size="{{.UploadMaxSize}}"
|
|
|
|
data-default-message="{{.i18n.Tr "dropzone.default_message"}}"
|
|
|
|
data-invalid-input-type="{{.i18n.Tr "dropzone.invalid_input_type"}}"
|
|
|
|
data-file-too-big="{{.i18n.Tr "dropzone.file_too_big"}}"
|
|
|
|
data-remove-file="{{.i18n.Tr "dropzone.remove_file"}}"
|
|
|
|
></div>
|