Skip to content

Commit

Permalink
fix: url widget visual (#724)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasvinclav committed Sep 9, 2024
1 parent 422bf42 commit a810187
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/unfold/templates/unfold/widgets/url.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{% if url_valid %}
{{ current_label }} <a href="{{ widget.href }}" class="text-primary-600 dark:text-primary-500">{{ widget.value }}</a>
{% endif %}
{% include "django/forms/widgets/input.html" %}
<div class="flex flex-row gap-2 items-center">
{% include "django/forms/widgets/input.html" %}

{% if url_valid %}
{{ current_label }} <a href="{{ widget.href }}" class="text-primary-600 dark:text-primary-500">{{ widget.value }}</a>
{% endif %}
</div>

0 comments on commit a810187

Please sign in to comment.