{% load i18n admin_static iadmin_list %} {% if result_hidden_fields %}
{# DIV for HTML validation #} {% for item in result_hidden_fields %}{{ item }}{% endfor %}
{% endif %} {% if results %}
{% with result_headers|visible as visible_result_headers %} {% for header in visible_result_headers %} {% endfor %} {% endwith %} {% for result in results %} {% if result.form.non_field_errors %} {% endif %} {% for item in result %}{{ item }}{% endfor %} {% endfor %}
{% block column-layout %} {% if visible_result_headers|last == header %} {% iadmin_columns_panel %} {% endif %} {% endblock column-layout %} {% if header.sortable %} {% if header.sort_priority > 0 %}
{% if num_sorted_fields > 1 %}{{ header.sort_priority }}{% endif %}
{% endif %} {% endif %} {% if header.filtered %} {% endif %}
{% if header.sortable %}{{ header.text|capfirst }}{% else %}{{ header.text|capfirst }}{% endif %}
{{ result.form.non_field_errors }}
{% endif %}