{% load image_tags ellipsistrim%} {% include "wagtailadmin/shared/header.html" with title="Choose an image" merged=1 tabbed=1 %} {% if uploadform %} {% endif %}
{% if uploadform %}
{% csrf_token %}
    {% for field in uploadform %} {% include "wagtailadmin/shared/field_as_li.html" with field=field %} {% endfor %}
{% endif %}