From 0b602861378a2be990bf641115e7d32741d86144 Mon Sep 17 00:00:00 2001 From: Ilya Vertakov Date: Mon, 14 Dec 2015 22:30:58 +0300 Subject: [PATCH] Fix collection item button appearence --- Resources/views/Form/fields.html.twig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Resources/views/Form/fields.html.twig b/Resources/views/Form/fields.html.twig index becc86e0e..9eaf91a3d 100644 --- a/Resources/views/Form/fields.html.twig +++ b/Resources/views/Form/fields.html.twig @@ -188,6 +188,9 @@ {{ prototype_markup|replace({'__name__': name})|raw }} {% endfor %} {% endif %} + {% if form.vars.allow_add == true and form.vars.label is same as (false) and widget_add_btn|default(null) %} + + {% endif %} {{ block('form_widget') }} {% endspaceless %}