{% trans_default_domain 'FOSUserBundle' %} {{ form_start(form, { 'action': path('millesima_client_achetteur_password_edit'), 'attr': { 'class': 'millesima_client_achetteur_password_edit' } }) }} {#
{{ form_widget(form.current_password, { 'attr': {'class': 'form-control' } }) }} {% if form.current_password.vars.errors|length > 0 %}
{{ form_errors(form.current_password) }}
{% endif %}
#}
{{ form_widget(form.plainPassword.first, { 'attr': {'class': 'form-control' } }) }} {% if form.plainPassword.first.vars.errors|length > 0 %}
{{ form_errors(form.plainPassword.first) }}
{% endif %}
{{ form_widget(form.plainPassword.second, { 'attr': {'class': 'form-control' } }) }} {{ form_errors(form.plainPassword.second) }}
{{ form_rest(form) }}
{{ form_end(form) }}