{% blocktranslate count counter=cl.formset.total_error_count %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktranslate %}
{{ cl.formset.non_form_errors }} {% endif %}{% extends "admin/base.html" %} {% load i18n static admin_urls admin_list %} {# ---------- TITLE ---------- #} {% block title %}{% if cl.formset and cl.formset.errors %}{% translate "Error:" %} {% endif %}{{ cl.opts.verbose_name_plural|capfirst }} | {{ site_title|default:'' }}{% endblock %} {# ---------- BODY CLASS ---------- #} {% block bodyclass %}{{ cl.opts.app_label }}-{{ cl.opts.model_name }} change-list-page{% endblock %} {# ---------- MEDIA (align with Django admin change_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 }} {% if action_form and cl.result_count %} {% endif %} {% endblock %} {# ---------- BREADCRUMBS ---------- #} {% block breadcrumbs %} {% if not is_popup %}
{% endif %} {% endblock %} {# ---------- TITLE + ADD (one row: title left, add right) ---------- #} {% block content_title %}{% blocktranslate count counter=cl.formset.total_error_count %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktranslate %}
{{ cl.formset.non_form_errors }} {% endif %}