Merge branch 'image-upload-hidden-fields' of https://github.com/kaedroho/wagtail into kaedroho-image-upload-hidden-fields

pull/610/head^2^2
Matt Westcott 2014-10-04 12:18:26 +02:00
commit ad0e70ac73
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -38,7 +38,11 @@
{% csrf_token %}
<ul class="fields">
{% for field in uploadform %}
{% include "wagtailadmin/shared/field_as_li.html" with field=field %}
{% if field.is_hidden %}
{{ field }}
{% else %}
{% include "wagtailadmin/shared/field_as_li.html" with field=field %}
{% endif %}
{% endfor %}
<li><input type="submit" value="{% trans 'Upload' %}" /></li>
</ul>