mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-24 10:46:10 +01:00
7eb8460132
#11141 broke the appearance of dropzone attachments when editting comments causing poorly updating lists. This PR fixes this. Fix #12583 Signed-off-by: Andrew Thornton art27@cantab.net
15 lines
515 B
Handlebars
15 lines
515 B
Handlebars
<div
|
|
class="ui dropzone"
|
|
id="dropzone"
|
|
data-link-url="{{.UploadLinkUrl}}"
|
|
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>
|