From 19ce49cc55ed423f2288067426cb9c6ce6a16dd7 Mon Sep 17 00:00:00 2001 From: Yaro Kasear Date: Thu, 24 Jul 2025 13:55:45 -0500 Subject: [PATCH] Refactor dropdown fragment to enhance button functionality and improve clear button visibility. --- .../fragments/_dropdown_fragment.html | 56 ++++++++++++++----- 1 file changed, 42 insertions(+), 14 deletions(-) diff --git a/inventory/templates/fragments/_dropdown_fragment.html b/inventory/templates/fragments/_dropdown_fragment.html index 208ca7f..4b1b9f8 100644 --- a/inventory/templates/fragments/_dropdown_fragment.html +++ b/inventory/templates/fragments/_dropdown_fragment.html @@ -1,3 +1,4 @@ +{% import "fragments/_icon_fragment.html" as icons %} {% import "fragments/_link_fragment.html" as links %} {% macro render_dropdown(id, list, label, current_item = None, entry_link = None, enabled = True) %} @@ -8,20 +9,25 @@ {% endif %}