{% if form_errors(form) %}
{{ form_errors(form) }}
{% endif %}
{% for flash_message in app.session.flashbag.get('danger') %}
{{ flash_message }}
{% endfor %}
{% for flash_message in app.session.flashbag.get('success') %}
{{ flash_message }}
{% endfor %}
{{ form_start(form, {'action':path('recuperarPassword.'~locale), 'method':'post', 'attr': {'class': 'formulario-login mb-4'}}) }}