{% load i18n admin_static material_admin %} {% if results %} {% if cl.model_admin.actions == None %} {% endif %}
{% for header in result_headers %} {% if 'action_checkbox' in cl.list_display and forloop.counter == 1 %} {% else %} {% endif %}{% endfor %} {% for result in results %} {% if result.form.non_field_errors %} {% endif %} {% for item in result %} {% if 'action_checkbox' in cl.list_display and forloop.counter == 1 %} {% else %} {{ item }} {% endif %}{% endfor %} {% endfor %}
{{ header.text }} {% if header.sortable %} {% if header.sort_priority == 0 %} {{ header.text|capfirst }} {% elif header.ascending %} arrow_upward{{ header.text|capfirst }} {% else %} arrow_downward{{ header.text|capfirst }} {% endif %} {% else %} {{ header.text|capfirst }} {% endif %}
{{ result.form.non_field_errors }}
{% endif %}