From f5af8d59c406f6c10de88588297f16d2879fba2f Mon Sep 17 00:00:00 2001 From: Emmanuel Vella Date: Fri, 20 Jul 2018 11:40:51 +0200 Subject: [PATCH] Add embed form id in parent div --- Resources/views/Form/fields.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/views/Form/fields.html.twig b/Resources/views/Form/fields.html.twig index df8ebf9d9..b1e33ba74 100644 --- a/Resources/views/Form/fields.html.twig +++ b/Resources/views/Form/fields.html.twig @@ -758,7 +758,7 @@ {% if help_widget_popover.selector is same as(null) %} {% set help_widget_popover = help_widget_popover|merge({'selector': '#' ~ id }) %} {% endif %} - +
{# a form item containing the field in block_prefixes is a near subform or a field directly #} {% if (form|length > 0 and form.parent != null) and 'field' not in form.vars.block_prefixes