From a81018702abaf240833d22d0a28c48151826ad1b Mon Sep 17 00:00:00 2001 From: Lukas Vinclav Date: Mon, 9 Sep 2024 08:21:54 +0200 Subject: [PATCH] fix: url widget visual (#724) --- src/unfold/templates/unfold/widgets/url.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/unfold/templates/unfold/widgets/url.html b/src/unfold/templates/unfold/widgets/url.html index 14c790c5..52de2db1 100644 --- a/src/unfold/templates/unfold/widgets/url.html +++ b/src/unfold/templates/unfold/widgets/url.html @@ -1,4 +1,7 @@ -{% if url_valid %} - {{ current_label }} {{ widget.value }} -{% endif %} -{% include "django/forms/widgets/input.html" %} +
+ {% include "django/forms/widgets/input.html" %} + + {% if url_valid %} + {{ current_label }} {{ widget.value }} + {% endif %} +