{% load i18n static suit_list admin_list admin_urls %} {% comment %} Based on Django 5.2 admin/search_form.html. Deliberate differences: - the object-tools block (add button) and suit_list_filter_horizontal filters live in this toolbar - the search input keeps autofocus (removed by Django 4.0), changelist search is the main action {% endcomment %} {% if cl.search_fields %}
{% block object-tools %} {% block object-tools-items %} {% if has_add_permission %} {% endif %} {% endblock %} {% endblock %}
{% endif %}