Skip to content

Commit 500f7aa

Browse files
author
Carlos Hernández
committed
Refactor Dropzone preview structure for better container organization and added button attributes.
1 parent 5ca6a2e commit 500f7aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Dropzone/templates/form_theme.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
{{- translation_domain is same as(false) ? attr.placeholder : attr.placeholder|trans({}, translation_domain) -}}
1111
{%- endif -%}
1212
</div>
13+
1314
<div class="dropzone-preview-container" data-symfony--ux-dropzone--dropzone-target="previewContainer">
1415
<div class="dropzone-preview" data-symfony--ux-dropzone--dropzone-target="preview" style="display: none">
1516
<div class="dropzone-preview-image" style="display: none"
@@ -19,9 +20,8 @@
1920
data-symfony--ux-dropzone--dropzone-target="previewClearButton"
2021
data-symfony--ux-dropzone--dropzone-filename-param="0"
2122
data-action="symfony--ux-dropzone--dropzone#clear"
22-
></button>
23+
></button>
2324
</div>
2425
</div>
25-
2626
</div>
2727
{%- endblock %}

0 commit comments

Comments
 (0)