1 {% extends "FOSUserBundle::layout.html.twig" %}
3 {% block title %}{{ parent() }}change password{% endblock %}
5 {% block fos_user_content %}
6 {% trans_default_domain 'FOSUserBundle' %}
8 <form action="{{ path('fos_user_change_password') }}" method="post" class="fos_user_change_password form-horizontal">
9 {# TODO: do not ask for current password (?!) #}
10 {{ form_widget(form) }}
11 <div class="form-group">
12 <div class="col-sm-8 col-sm-offset-2">
13 <button type="submit" class="btn btn-primary">{{ 'change_password.submit'|trans }}</button>
18 {% endblock fos_user_content %}