This will only show form errors if there are any in your form view.
{% if form_errors(form)!='' %} {{ form_errors(form) }} {% endif %}
This will only show form errors if there are any in your form view.
{% if form_errors(form)!='' %} {{ form_errors(form) }} {% endif %}