1234567891011121314151617181920212223242526272829303132333435363738 |
- {% extends "MuzichUserBundle::layout.html.twig" %}
-
- {% block title %}Mon compte{% endblock %}
-
- {% block content %}
-
- <h2>{{ 'my_account.title'|trans({}, 'userui') }}</h2>
-
- <ul>
- <li>
- <b>{{ 'my_account.username'|trans({}, 'userui') }}</b>: {{ user.name }}
- </li>
- <li>
- <b>{{ 'my_account.email'|trans({}, 'userui') }}</b>: {{ user.email }}
- </li>
- </ul>
-
- <h3>{{ 'my_account.favorite_tags'|trans({}, 'userui') }}</h3>
-
- {% include "MuzichCoreBundle:Tag:tagFavoritesForm.html.twig" with {
- 'form': form_tags_favorites,
- 'redirect' : 'account'
- } %}
-
- <h3>{{ 'my_account.change_password'|trans({}, 'userui') }}</h3>
-
- <form action="{{ path('change_password') }}" method="post" {{ form_enctype(form_password) }}>
-
- {% include "MuzichUserBundle:Security:change_password_form.html.twig" with {
- 'form': form_password
- } %}
-
- <input type="submit" />
- </form>
-
- <h3>{{ 'my_account.change_email'|trans({}, 'userui') }}</h3>
-
- {% endblock %}
|