{% load i18n staticfiles %} {% load humanize %} {% if result_hidden_fields %}
{# DIV for HTML validation #} {% for item in result_hidden_fields %}{{ item }}{% endfor %}
{% endif %} {% if results %}
{% for header in result_headers %} {% endfor %} {% for result in results %} {% if result.group != result.previous %} {% endif %} {% for item in result %}{{ item }}{% endfor %} {% if result.form.non_field_errors %} {% endif %} {% endfor %}
{% if header.sortable %}{{ header.text|capfirst }} {% if header.sort_priority > 0 %} {{ header.sort_priority|ordinal }}{% endif %} {% else %}{{ header.text|capfirst }}{% endif %}
{{ result.group }}
{{ result.form.non_field_errors }}
{% else %} {% for header in result_headers %} {% endfor %}
{{ header.text|capfirst }}
There are no {{ cl.opts.verbose_name_plural }}
{% endif %}