From c75b331348300219fbecdf834d98e8107ae22334 Mon Sep 17 00:00:00 2001 From: Keyvan Mosharraf Date: Wed, 19 Oct 2022 15:04:42 -0400 Subject: [PATCH] Make autocomplete filters collapsible --- .../admin/filter/autocomplete_list_filter.html | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/djaa_list_filter/templates/djaa_list_filter/admin/filter/autocomplete_list_filter.html b/djaa_list_filter/templates/djaa_list_filter/admin/filter/autocomplete_list_filter.html index 807a1b1..5c39dd1 100644 --- a/djaa_list_filter/templates/djaa_list_filter/admin/filter/autocomplete_list_filter.html +++ b/djaa_list_filter/templates/djaa_list_filter/admin/filter/autocomplete_list_filter.html @@ -1,9 +1,13 @@ {% load i18n static %} -

{% blocktrans with filter_title=title %} By {{ filter_title }} {% endblocktrans %}

+
+ + {% blocktrans with filter_title=title %} By {{ filter_title }} {% endblocktrans %} + -
-
    -
  • {{ spec.autocomplete_form.autocomplete_field }}
  • -
-{{ spec.autocomplete_form.querystring_value }} -
+
+
    +
  • {{ spec.autocomplete_form.autocomplete_field }}
  • +
+ {{ spec.autocomplete_form.querystring_value }} +
+