From bb37c77ee066be5ed9db9c641e949eb71c2f37a3 Mon Sep 17 00:00:00 2001 From: Julien <47600583+kaupec@users.noreply.github.com> Date: Thu, 22 Apr 2021 15:32:33 +0200 Subject: [PATCH] Fix form help overriding (#1273) --- Resources/views/Form/fields.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/views/Form/fields.html.twig b/Resources/views/Form/fields.html.twig index a9eda8e18..08f474ca2 100644 --- a/Resources/views/Form/fields.html.twig +++ b/Resources/views/Form/fields.html.twig @@ -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 %} {% endif %} @@ -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 %}