diff --git a/Resources/views/Form/file_upload.html.twig b/Resources/views/Form/file_upload.html.twig index 834d5e62b774ad8eace133ebf40f1930d4429cec..167e6d75be3ef658538c47d0fcb0d0e3f1260e59 100644 --- a/Resources/views/Form/file_upload.html.twig +++ b/Resources/views/Form/file_upload.html.twig @@ -20,10 +20,6 @@ data-create-url="{{ widget_attr['data-create-url'] }}" data-download-prototype="{{ block('file_upload_entry_prototype')|e }}" data-upload-prototype="{{ block('file_upload_progress_prototype')|e }}"> - <span class="btn btn-primary fileinput-button"> - <span>{{ irstea_icon('upload') }} {% trans %}button.upload{% endtrans %}</span> - <input type="file" name="_dummy_{{ name }}" multiple="multiple"/> - </span> <div class="fileinput-entries"> {%- set file = value %} {%- block file_upload_entry_prototype %} @@ -41,5 +37,9 @@ </p> {% endblock -%} </div> + <span class="btn btn-primary fileinput-button"> + <span>{{ irstea_icon('upload') }} {% trans %}button.upload{% endtrans %}</span> + <input type="file" name="_dummy_{{ name }}" multiple="multiple"/> + </span> </div> {% endblock file_upload_widget %}