mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-18 07:12:20 +00: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
14 lines
515 B
Handlebars
14 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>
|