From deeaf9e645cc9de6c51e15cadfb4841811ad482e Mon Sep 17 00:00:00 2001 From: candifloss Date: Mon, 17 Mar 2025 15:51:10 +0530 Subject: [PATCH] Format html output of `item_form.html` template - Remove redundant spaces - Cleaner html in "view source" - Better html comments --- templates/item_form.html | 59 +++++++++++++++++++--------------------- 1 file changed, 28 insertions(+), 31 deletions(-) diff --git a/templates/item_form.html b/templates/item_form.html index 1935683..f958de9 100644 --- a/templates/item_form.html +++ b/templates/item_form.html @@ -18,37 +18,34 @@ {% for attrib in item_attributes -%}

- {% if attrib.html_input_type == "select" %} - - - {% else %} - - - {% endif %} + {%- if attrib.html_input_type == "select" %} + + + {%- else %} + + + {%- endif %}

{% endfor %}