2020-07-20 22:09:07 +02:00
|
|
|
<div id ="{{widget}}-upload-widget" class="inline-block image_upload_widget">
|
2021-06-28 13:10:46 +02:00
|
|
|
<div class="image_upload_button {{#unless is_editable_by_current_user}}hide{{/unless}}">
|
2020-07-15 20:14:13 +02:00
|
|
|
<div class="image-upload-background"></div>
|
2020-07-15 20:58:34 +02:00
|
|
|
<span class="image-delete-button" aria-label="{{ delete_text }}" role="button" tabindex="0">
|
2020-06-12 16:04:23 +02:00
|
|
|
×
|
|
|
|
</span>
|
2020-07-15 21:14:31 +02:00
|
|
|
<span class="image-delete-text" aria-label="{{ delete_text }}" tabindex="0">
|
2020-06-17 15:10:03 +02:00
|
|
|
{{ delete_text }}
|
2020-06-12 16:04:23 +02:00
|
|
|
</span>
|
2020-07-15 21:20:36 +02:00
|
|
|
<span class="image-upload-text" aria-label="{{ upload_text }}" role="button" tabindex="0">
|
2020-06-17 15:10:03 +02:00
|
|
|
{{ upload_text }}
|
2020-06-12 16:04:23 +02:00
|
|
|
</span>
|
2020-06-15 06:48:41 +02:00
|
|
|
<span class="upload-spinner-background">
|
2021-07-16 11:15:47 +02:00
|
|
|
<img class="image_upload_spinner" src="/static/images/tail-spin.svg" alt="" />
|
2020-06-12 16:04:23 +02:00
|
|
|
</span>
|
|
|
|
</div>
|
2020-06-15 07:38:56 +02:00
|
|
|
<img class="image-block" src="{{ image }}"/>
|
2020-06-17 15:10:03 +02:00
|
|
|
<input type="file" name="file_input" class="notvisible image_file_input" value="{{ upload_text }}" />
|
2020-06-15 08:28:41 +02:00
|
|
|
<div class="image_file_input_error text-error"></div>
|
2020-06-12 16:04:23 +02:00
|
|
|
</div>
|