{% load i18n %} {% if result_hidden_fields %}
{% for item in result_hidden_fields %}{{ item }}{% endfor %}
{% endif %} {% if results %}
{% for header in result_headers %} {% endfor %} {% for result in results %} {% if result.form and result.form.non_field_errors %} {% endif %} {% for item in result %} {{ item }} {% endfor %} {% include 'unfold/helpers/actions_row.html' with actions=actions_row instance_pk=result.instance_pk %} {% endfor %}
{% if header.sortable %} {{ header.text|capfirst }} {% else %} {% if "action-toggle" in header.text and forloop.counter == 1 %} {% else %} {{ header.text|capfirst }} {% endif %} {% endif %}
{% if header.sortable %} {% if header.sort_priority > 0 %} {% if num_sorted_fields > 1 %} {{ header.sort_priority }} {% endif %} {% endif %} {% endif %}
{{ result.form.non_field_errors }}
{% endif %}