mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-27 21:03:56 +01:00
ebf253b841
* First step for multiple dropzones per page. * Allow attachments on review comments. * Lint. * Fixed accidental initialize of the review textarea. * Initialize SimpleMDE textarea. Co-authored-by: techknowlogick <techknowlogick@gitea.io>
15 lines
528 B
Handlebars
15 lines
528 B
Handlebars
<div
|
|
class="ui 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 class="files"></div>
|
|
</div>
|