account.html.twig 1006B

1234567891011121314151617181920212223242526272829303132333435363738
  1. {% extends "MuzichUserBundle::layout.html.twig" %}
  2. {% block title %}Mon compte{% endblock %}
  3. {% block content %}
  4. <h2>{{ 'my_account.title'|trans({}, 'userui') }}</h2>
  5. <ul>
  6. <li>
  7. <b>{{ 'my_account.username'|trans({}, 'userui') }}</b>: {{ user.name }}
  8. </li>
  9. <li>
  10. <b>{{ 'my_account.email'|trans({}, 'userui') }}</b>: {{ user.email }}
  11. </li>
  12. </ul>
  13. <h3>{{ 'my_account.favorite_tags'|trans({}, 'userui') }}</h3>
  14. {% include "MuzichCoreBundle:Tag:tagFavoritesForm.html.twig" with {
  15. 'form': form_tags_favorites,
  16. 'redirect' : 'account'
  17. } %}
  18. <h3>{{ 'my_account.change_password'|trans({}, 'userui') }}</h3>
  19. <form action="{{ path('change_password') }}" method="post" {{ form_enctype(form_password) }}>
  20. {% include "MuzichUserBundle:Security:change_password_form.html.twig" with {
  21. 'form': form_password
  22. } %}
  23. <input type="submit" />
  24. </form>
  25. <h3>{{ 'my_account.change_email'|trans({}, 'userui') }}</h3>
  26. {% endblock %}