From f15897f20d8ca4ba9676238423acb3fa5fcfce7b Mon Sep 17 00:00:00 2001 From: Egor fureunoir Gorbunov Date: Tue, 1 Jul 2025 18:45:02 +0300 Subject: [PATCH] Features: 1) Simplify `autocomplete_list_filter.html` template by removing unused static assets and unnecessary `label` tag; 2) Refactor indentation for better readability; Fixes: None; Extra: Streamline template code by removing redundant HTML elements and unused script imports; --- .../admin/autocomplete_list_filter.html | 36 +++++++------------ 1 file changed, 13 insertions(+), 23 deletions(-) diff --git a/core/templates/admin/autocomplete_list_filter.html b/core/templates/admin/autocomplete_list_filter.html index c61643c3..925d4672 100644 --- a/core/templates/admin/autocomplete_list_filter.html +++ b/core/templates/admin/autocomplete_list_filter.html @@ -1,27 +1,17 @@ -{% load i18n static %} +{% load i18n %}
- {% if spec.lookup_val %} - + {% endif %} - +
- - - - - - - -