{% extends 'admin/change_list.html' %} {% load i18n admin_list suit_list%} {% block search %}{% suit_search_form cl %}{% endblock %} {% block object-tools %} {# this block is copied in search_form.html to have the add button in the right div I case horizontal filter with a lot of filters #} {% endblock %} {% block filters %} {# Based on Django 4.2; only the vertical filters are listed here, suit_list_filter_horizontal ones are in suit/search_form.html #} {% if cl.has_filters %}