Skip to content

Commit bb37c77

Browse files
authored
Fix form help overriding (#1273)
1 parent d88e5cc commit bb37c77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Resources/views/Form/fields.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
{% endif %}
292292
{{ choice_translation_domain is same as(false) ? label|raw : label|trans({}, choice_translation_domain)|raw }}
293293
{% else %}
294-
{{ block('form_help') }}
294+
{{ form_help(form) }}
295295
{% endif %}
296296
</label>
297297
{% endif %}
@@ -609,7 +609,7 @@
609609
{{ form_errors(form) }}
610610

611611
{% if ('checkbox' not in block_prefixes or widget_checkbox_label != 'label') and help_block %}
612-
{{ block('form_help') }}
612+
{{ form_help(form) }}
613613
{% endif %}
614614
{% endapply %}
615615
{% endblock form_message %}

0 commit comments

Comments
 (0)