Simple check if form field has errors in Twig template
That method does not exist. I typically do {% if form.points.vars.errors|length %}
.
better way I found, is to use this kind of code
{% if not form.vars.valid %}
<div class="alert alert-error">
{{ form_errors(form) }}
</div>
{% endif %}