{% extends 'admin/base_site.html' %} {% load i18n admin_urls static admin_list %} {% block stylesheets %} {{ media.css }} {{ block.super }} {% endblock %} {% block javascripts %} {{ media.js }} {{ block.super }} {% if cl.formset or action_form %} {% endif %} {% endblock javascripts %} {% block body_class %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} change-list{% endblock body_class %} {% if not is_popup %} {% block breadcrumbs %}
  • {% trans 'Home' %}
  • {{ cl.opts.app_config.verbose_name }}
  • {{ cl.opts.verbose_name_plural|capfirst }}
  • {% endblock breadcrumbs %} {% endif %} {% block content %}
    {% if cl.formset and cl.formset.errors %}

    Alert!

    {% 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 %} {# Search #}
    {% block search %}{% search_form cl %}{% endblock %} {% block date_hierarchy %}{% if cl.date_hierarchy %}{% date_hierarchy cl %}{% endif %}{% endblock %}
      {% block object-tools-items %} {% change_list_object_tools %} {% endblock %}
    {# Main content #}
    {# Table #}
    {% csrf_token %}
    {% block result_list %} {% if action_form and actions_on_top and cl.show_admin_actions %}
    {% admin_actions %}
    {% endif %}
    {% result_list cl %}
    {% block pagination %}{% pagination cl %}{% endblock %}
    {% if action_form and actions_on_bottom and cl.show_admin_actions %} {% endif %} {% endblock %}
    {# Filters #} {% block filters %} {% if cl.has_filters %}

    {% trans 'Filter' %}

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