mirror of
https://github.com/go-gitea/gitea
synced 2024-11-15 22:54:24 +00: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>
16 lines
528 B
Handlebars
16 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>
|