{% if sent %}
{% trans %}Your account recovery message has been sent{% endtrans %}
{% else %}
{{ form_start(recover) }}
{% if recover.mail is defined %}
{{ form_row(recover.mail) }}
{% endif %}
{% if recover.password is defined %}
{{ form_row(recover.password) }}
{% endif %}
{{ form_row(recover.submit) }}
{# Render CSRF token etc .#}
{{ form_end(recover) }}
{% endif %}