2020-10-05 13:49:33 +08:00
|
|
|
<div
|
|
|
|
class="ui dropzone"
|
2020-10-11 07:49:59 +08:00
|
|
|
data-link-url="{{.UploadLinkUrl}}"
|
2020-10-05 13:49:33 +08:00
|
|
|
data-upload-url="{{.UploadUrl}}"
|
|
|
|
data-remove-url="{{.UploadRemoveUrl}}"
|
|
|
|
data-accepts="{{.UploadAccepts}}"
|
|
|
|
data-max-file="{{.UploadMaxFiles}}"
|
|
|
|
data-max-size="{{.UploadMaxSize}}"
|
2023-09-25 16:56:50 +08:00
|
|
|
data-default-message="{{ctx.Locale.Tr "dropzone.default_message"}}"
|
|
|
|
data-invalid-input-type="{{ctx.Locale.Tr "dropzone.invalid_input_type"}}"
|
|
|
|
data-file-too-big="{{ctx.Locale.Tr "dropzone.file_too_big"}}"
|
|
|
|
data-remove-file="{{ctx.Locale.Tr "dropzone.remove_file"}}"
|
2021-06-15 09:12:33 +08:00
|
|
|
>
|
|
|
|
<div class="files"></div>
|
|
|
|
</div>
|