2020-10-05 14:49:33 +09:00
|
|
|
<div
|
|
|
|
class="ui dropzone"
|
|
|
|
id="dropzone"
|
2020-10-11 08:49:59 +09:00
|
|
|
data-link-url="{{.UploadLinkUrl}}"
|
2020-10-05 14:49:33 +09: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>
|