Skip to content

Commit

Permalink
Fix form help overriding (#1273)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaupec authored Apr 22, 2021
1 parent d88e5cc commit bb37c77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/views/Form/fields.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
{% endif %}
{{ choice_translation_domain is same as(false) ? label|raw : label|trans({}, choice_translation_domain)|raw }}
{% else %}
{{ block('form_help') }}
{{ form_help(form) }}
{% endif %}
</label>
{% endif %}
Expand Down Expand Up @@ -609,7 +609,7 @@
{{ form_errors(form) }}

{% if ('checkbox' not in block_prefixes or widget_checkbox_label != 'label') and help_block %}
{{ block('form_help') }}
{{ form_help(form) }}
{% endif %}
{% endapply %}
{% endblock form_message %}
Expand Down

0 comments on commit bb37c77

Please sign in to comment.