Instalacija
{% if not form.vars.valid %}
{% if form_errors(form.password.first) %}
- {{ form_errors(form.password.first) }}
{% endif %}
{% if form_errors(form.password.second) %}
- {{ form_errors(form.password.second) }}
{% endif %}
{# Loop through every form item #}
{% for child in form.children %}
{# Display the errors of the form item #}
{%for error in child.vars.errors%}
- {{error.message}}
{%endfor%}
{%endfor%}
{% endif %}
{{ form_start(form,{"attr": {"novalidate": "novalidate"}}) }}
{{ form_end(form) }}