phiamo/MopaBootstrapBundle — Issue #30: field_help block needs to check if errors exist before display
Author: jeremymoore
Created: 2012-01-19 04:17:05+00:00
State: open

I noticed that field errors always render at least the html markup. It looks like the check is performed after the 0 %}

{% for error in errors %}
{{ error.messageTemplate|trans(error.messageParameters, 'validators') }}

{% endfor %}

{% endif %}
{% endspaceless %}
{% endblock field_errors %}