{{ form_start(form, { 'action': path('fos_user_change_password'), 'attr': { 'class': 'fos_user_change_password col-md-6' } }) }} {{ form_errors(form) }}
{{ form_label(form.current_password, 'Current password') }}
{{ form_errors(form.current_password) }} {{ form_widget(form.current_password) }}
{{ form_label(form.plainPassword.first, 'New password') }}
{{ form_errors(form.plainPassword.first) }} {{ form_widget(form.plainPassword.first) }}
{{ form_label(form.plainPassword.second, 'Confirm new password') }}
{{ form_errors(form.plainPassword.second) }} {{ form_widget(form.plainPassword.second) }}
{{ form_widget(form) }} {{ form_end(form) }}