Commit 73484a87 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Affiche le boutons d'upload après les fichiers.

Showing with 4 additions and 4 deletions
+4 -4
...@@ -20,10 +20,6 @@ ...@@ -20,10 +20,6 @@
data-create-url="{{ widget_attr['data-create-url'] }}" data-create-url="{{ widget_attr['data-create-url'] }}"
data-download-prototype="{{ block('file_upload_entry_prototype')|e }}" data-download-prototype="{{ block('file_upload_entry_prototype')|e }}"
data-upload-prototype="{{ block('file_upload_progress_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"> <div class="fileinput-entries">
{%- set file = value %} {%- set file = value %}
{%- block file_upload_entry_prototype %} {%- block file_upload_entry_prototype %}
...@@ -41,5 +37,9 @@ ...@@ -41,5 +37,9 @@
</p> </p>
{% endblock -%} {% endblock -%}
</div> </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> </div>
{% endblock file_upload_widget %} {% endblock file_upload_widget %}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment