{% load i18n static jazzmin filters %} {% if result_hidden_fields %}
{% for item in result_hidden_fields %}{{ item }}{% endfor %}
{% endif %} {% if results %}
{% with action_column=result_headers|filter:"class_attrib,action"|length %} {% with skip_columns=1|add:action_column %} {% with num_columns=result_headers|length|subtract:skip_columns %} {% for header in result_headers %} {% if forloop.counter > skip_columns %} {% endfor %} {% endwith %} {% endwith %} {% endwith %} {% for result in results %} {% for item in result %}{{ item }}{% endfor %} {% endfor %}
{% else %} {% endif %}
{% if header.sortable %} {{ header.text|capfirst }} {% else %} {{ header.text|capfirst }} {% endif %} {% if header.sorted %}
{% if header.ascending %} {% else %} {% endif %} {% endif %}
{% endif %}