{% extends "nexus/admin/base_site.html" %} {% load staticfiles admin_list i18n %} {% block head %} {{ block.super }} {% if cl.formset %} {% endif %} {% if cl.formset or action_form %} {% url 'admin:jsi18n' as jsi18nurl %} {% endif %} {{ media.css }} {{ media.js }} {% if action_form %}{% if actions_on_top or actions_on_bottom %} {% endif %}{% endif %} {% endblock %} {% if not is_popup %} {% block breadcrumb_bits %}
  • {% trans "Model Admin" %}
  • {{ app_label|capfirst }}
  • {{ cl.opts.verbose_name_plural|capfirst }}
  • {% endblock %} {% endif %} {% block content %} {% block object-tools %} {% if has_add_permission %} {% endif %} {% endblock %} {% 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 %}
    {% block search %}{% search_form cl %}{% endblock %} {% block date_hierarchy %}{% date_hierarchy cl %}{% endblock %} {% block filters %} {% if cl.has_filters %}

    {% trans 'Filter' %}

    {% for spec in cl.filter_specs %}{% admin_list_filter cl spec %}{% endfor %}
    {% endif %} {% 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 %}
    {% endblock %}