Skip to content

Commit

Permalink
Fixed conflict with BS error class (fixes #263)
Browse files Browse the repository at this point in the history
Renamed the error class added for global errors as this conflicts with BS error rendering. See #263 for details.
  • Loading branch information
althaus committed Jun 26, 2014
1 parent d02f7fc commit d81a349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/views/Form/bootstrap.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit d81a349

Please sign in to comment.