{% load partials %} {% if use_crispy %} {% load crispy_forms_tags %} {% endif %}
{% for header in headers %} {% with header_lower=header|lower|cut:" " current_sort=request.GET.sort %} {% endwith %} {% endfor %} {% for object in object_list %} {% for field in object.fields %} {% endfor %} {% endfor %}
{{ header|capfirst }} {% if current_sort == header_lower %} {% elif current_sort == '-'|add:header_lower %} {% endif %} Actions
{{ field }} {{ object.actions }}