{% form_theme form _self %} {% block form_errors %} {% if errors is defined and errors.count > 0 %}

{% for error in errors %} {{ error.message | trans({}, 'form', app.request.session.get('_locale')) }}
{% endfor %}

{% endif %} {% endblock form_errors %}