{% extends "admin/base_site.html" %} {% load i18n admin_urls static admin_list %} {% block extrastyle %} {{ block.super }} {% 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 }} {% endblock %} {% block toolbar-search %}{% search_form cl %}{% endblock toolbar-search %} {% block content_title %} {% if page_title %} {{ page_title }}{% else %}{{ opts.verbose_name_plural|title }}{% endif %} {% endblock %} {% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} change-list{% endblock %} {% if not is_popup %} {% block breadcrumbs %} {% if is_app_index_enabled %} {% else %} {% endif %} {% endblock %} {% endif %} {% block object-tools %}
{% block object-tools-items %} {% change_list_object_tools %} {% endblock %}
{% endblock %} {% block content %} {% block alt_content %} {% endblock alt_content %} {% if cl.formset and cl.formset.errors %}

{% if cl.formset.total_error_count == 1 %} {% translate "Please correct the error below." %} {% else %} {% translate "Please correct the errors below." %} {% endif %}

{{ cl.formset.non_form_errors }} {% endif %}
{% csrf_token %} {% if cl.formset %}
{{ cl.formset.management_form }}
{% endif %}
{% block result_list %} {% if action_form and actions_on_top and cl.show_admin_actions %}
{% admin_actions %}
{% endif %} {% block date_hierarchy %} {% if cl.date_hierarchy %} {% date_hierarchy cl %} {% endif %} {% endblock %} {% result_list cl %} {% block pagination %}
{% pagination cl %}
{% endblock %} {% if action_form and actions_on_bottom and cl.show_admin_actions %} {% endif %} {% endblock %}
{% endblock %} {% block sidenav_right_wrapper %} {% if cl.has_filters %}
{% endif %} {% endblock sidenav_right_wrapper %}