66946ba487674d29db69746467a9882296e46522
[mixstore.git] / src / Mixstore / UserBundle / Resources / views / Profile / edit.html.twig
1 {% extends "FOSUserBundle::layout.html.twig" %}
2
3 {% block title %}{{ parent() }}edit profile{% endblock %}
4
5 {% block fos_user_content %}
6 {% trans_default_domain 'FOSUserBundle' %}
7
8 <form action="{{ path('fos_user_profile_edit') }}" {{ form_enctype(form) }} method="post" class="fos_user_profile_edit 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">{{ 'profile.edit.submit'|trans }}</button>
14 </div>
15 </div>
16 </form>
17
18 {% endblock fos_user_content %}