kopia lustrzana https://github.com/wagtail/wagtail
Merge branch 'image-upload-hidden-fields' of https://github.com/kaedroho/wagtail into kaedroho-image-upload-hidden-fields
commit
ad0e70ac73
|
@ -38,7 +38,11 @@
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<ul class="fields">
|
<ul class="fields">
|
||||||
{% for field in uploadform %}
|
{% 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 %}
|
{% endfor %}
|
||||||
<li><input type="submit" value="{% trans 'Upload' %}" /></li>
|
<li><input type="submit" value="{% trans 'Upload' %}" /></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Ładowanie…
Reference in New Issue