Skip to content

Instantly share code, notes, and snippets.

@raulfraile
Created October 4, 2011 08:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raulfraile/1261181 to your computer and use it in GitHub Desktop.
Save raulfraile/1261181 to your computer and use it in GitHub Desktop.
Colorear errores Symfony2 + Twig + Twitter Bootstrap
{% block field_row %}
<div class="clearfix{% if errors|length > 0 %} error{% endif %}">
...
{% endblock %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment