From 73484a8757429b8e075d160df283abc513a51597 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@irstea.fr>
Date: Thu, 22 Jan 2015 11:29:07 +0100
Subject: [PATCH] =?UTF-8?q?Affiche=20le=20boutons=20d'upload=20apr=C3=A8s?=
 =?UTF-8?q?=20les=20fichiers.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Resources/views/Form/file_upload.html.twig | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Resources/views/Form/file_upload.html.twig b/Resources/views/Form/file_upload.html.twig
index 834d5e62..167e6d75 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') }}&nbsp;{% 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') }}&nbsp;{% trans %}button.upload{% endtrans %}</span>
+            <input type="file" name="_dummy_{{ name }}" multiple="multiple"/>
+        </span>
     </div>
 {% endblock file_upload_widget %}
-- 
GitLab