Skip to content

Commit

Permalink
fix: empty div for help_text
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasvinclav committed Apr 21, 2023
1 parent 8a3b97d commit 6c415b4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/unfold/templates/unfold/helpers/help_text.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<div class="leading-relaxed mt-2 text-gray-500 text-xs dark:text-gray-400">
{{ help_text|safe }}
</div>
{% if help_text %}
<div class="leading-relaxed mt-2 text-gray-500 text-xs dark:text-gray-400">
{{ help_text|safe }}
</div>
{% endif %}

0 comments on commit 6c415b4

Please sign in to comment.