{% load i18n admin_urls static admin_list zero_tags %} {% if result_hidden_fields %}
{# DIV for HTML validation #} {% for item in result_hidden_fields %}{{ item }}{% endfor %}
{% endif %}

{{ cl.opts.model_name|capfirst }} List

{% 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|row_clean }} {% endfor %} {% endfor %}
{% if header.sortable %} {{ header.text|capfirst }} {% else %} {{ header.text|capfirst }} {% endif %}
Actions
{{ result.form.non_field_errors }}
{% with app_label=cl.opts.app_label model_name=cl.opts.model_name object_id=result.0|get_row_pk %} {% endwith %} {% with app_label=cl.opts.app_label model_name=cl.opts.model_name object_id=result.0|get_row_pk %}
{% csrf_token %}
{% endwith %}
{% if not results %}

No data found!

{% endif %}