Skip to content

Commit cb5dca6

Browse files
committed
Merge pull request #49 from nurikabe/patch-1
Don't output an empty help block
2 parents cea7ba2 + bec8c74 commit cb5dca6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Resources/views/Form/field_type_help.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{# Widgets #}
22

33
{% block field_help %}
4-
{% if help is defined %}
4+
{% if help|default %}
55
<span class="help">{{ help }}</span>
66
{% endif %}
77
{% endblock %}

0 commit comments

Comments
 (0)