From b48ebf7fe4f126b14da02ec7b7c84b9b01557814 Mon Sep 17 00:00:00 2001 From: Horilla Date: Fri, 25 Oct 2024 15:31:33 +0530 Subject: [PATCH] [UPDT] HORILLA WIDGETS: Horilla form select field widgets condition --- horilla_widgets/templates/horilla_widgets/attr.html | 2 +- horilla_widgets/templates/horilla_widgets/select_option.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/horilla_widgets/templates/horilla_widgets/attr.html b/horilla_widgets/templates/horilla_widgets/attr.html index 7a5592afc..c52de9eea 100644 --- a/horilla_widgets/templates/horilla_widgets/attr.html +++ b/horilla_widgets/templates/horilla_widgets/attr.html @@ -1 +1 @@ -{% for name, value in widget.attrs.items %}{% if value is not False %} {{ name }}{% if value is not True %}="{{ value|stringformat:'s' }}"{% endif %}{% endif %}{% endfor %} \ No newline at end of file +{% for name, value in widget.attrs.items %}{% if value is not False %} {{ name }}{% if value is not True %}="{{ value|stringformat:'s' }}"{% endif %}{% endif %}{% endfor %} diff --git a/horilla_widgets/templates/horilla_widgets/select_option.html b/horilla_widgets/templates/horilla_widgets/select_option.html index e9349756c..1863b118a 100644 --- a/horilla_widgets/templates/horilla_widgets/select_option.html +++ b/horilla_widgets/templates/horilla_widgets/select_option.html @@ -1 +1 @@ - +