{% extends "admin/base_site.html" %} {% load i18n admin_urls admin_static admin_list bootstrapped_goodies_tags %} {% block extrastyle %} {{ block.super }} {% if cl.formset %} {% endif %} {% if cl.formset or action_form %} {% url 'admin:jsi18n' as jsi18nurl %} {% endif %} {{ media.css }} {% endblock %} {% block extrahead %} {{ block.super }} {{ media.js }} {% if action_form %}{% if actions_on_top or actions_on_bottom %} {% endif %}{% endif %} {% endblock %} {% block bodyclass %}_change-list{% endblock %} {% block coltype %}flex{% endblock %} {% block object-tools %} {% if cl.has_filters %} {% endif %} {% block search %}{% search_form cl %}{% endblock %} {% endblock %} {% block content %}
{% csrf_token %} {% if cl.formset.errors %}

{% blocktrans count cl.formset.errors|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}

{{ cl.formset.non_form_errors }}
{% endif %} {% with app_name=cl.opts.module_name|lower|slugify %} {% render_with_template_if_exist cl.opts.app_label|lower|add:"/admin_app_"|add:app_name|add:"_description.html" "" %} {% endwith %} {% if action_form and actions_on_top and cl.full_result_count %}
{% admin_actions %}
{% endif %}
{% block date_hierarchy %} {% date_hierarchy cl %} {% endblock %} {% if cl.formset %}
{{ cl.formset.management_form }}
{% endif %} {% block result_list %} {% result_list cl %} {% endblock %}
{# {% if cl.formset and cl.result_count %} #} {# {% endif %} #} {% block pagination %} {% pagination cl %} {% endblock %}
{% endblock %}