{% extends "admin/base_site.html" %} {% load i18n admin_urls admin_static admin_list suit_tags %} {% block extrastyle %} {{ block.super }} {# #} {% if cl.formset %} {# #} {% endif %} {% if cl.formset or action_form %} {% endif %} {{ media.css }} {% if not actions_on_top and not actions_on_bottom %} {% endif %} {% endblock %} {% block extrahead %} {{ block.super }} {{ media.js }} {% if action_form %}{% if actions_on_top or actions_on_bottom %} {% endif %}{% endif %} {% endblock %} {% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} change-list{% endblock %} {% if not is_popup %} {% block breadcrumbs %} {% endblock %} {% endif %} {% block coltype %}flex{% endblock %} {% block content %}
{% if cl.formset.errors %}
{% if cl.formset.total_error_count == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}
{{ cl.formset.non_form_errors }} {% endif %} {% suit_conf_value 'list_filters_position' cl.model_admin as FILTERS_POS %}
{% block object-tools %} {% if has_add_permission %}
{% block object-tools-items %} {% endblock %}
{% endif %} {% endblock %} {% block search %}{% search_form cl %}{% endblock %}
{% block date_hierarchy %}{% date_hierarchy cl %}{% endblock %}
{% csrf_token %} {% if cl.formset %}
{{ cl.formset.management_form }}
{% endif %} {% block result_list %} {% if action_form and actions_on_top and cl.full_result_count %}{% admin_actions %}{% endif %} {% result_list cl %} {% if action_form and actions_on_bottom and cl.full_result_count %}{% admin_actions %}{% endif %} {% endblock %} {% block pagination %}{% pagination cl %}{% endblock %}
{% block filters %} {% if cl.has_filters and FILTERS_POS == 'right' %}

{% trans 'Filter' %}

{% for spec in cl.filter_specs %}{% admin_list_filter cl spec %}{% endfor %}
{% endif %} {% endblock %}
{% endblock %}