From d81a34969a09348374884c3ddfbebb7185309e6e Mon Sep 17 00:00:00 2001 From: Matthias Althaus Date: Thu, 26 Jun 2014 13:25:16 +0200 Subject: [PATCH] Fixed conflict with BS error class (fixes #263) Renamed the error class added for global errors as this conflicts with BS error rendering. See #263 for details. --- Resources/views/Form/bootstrap.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/views/Form/bootstrap.html.twig b/Resources/views/Form/bootstrap.html.twig index 61ea5f0..78eb0ae 100644 --- a/Resources/views/Form/bootstrap.html.twig +++ b/Resources/views/Form/bootstrap.html.twig @@ -736,7 +736,7 @@ {% endif %} {% if form.vars.errors|length > 0 %} - {% set attr = attr|merge({ 'class': (attr.class|default('') ~ ' has-error')|trim }) %} + {% set attr = attr|merge({ 'class': (attr.class|default('') ~ ' has-global-errors')|trim }) %} {% endif %} {% if col_size is defined %}