X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/9ea61d2e082e341a554fea43e22f25f7f09bfdd1..0f2420fb0c65c3d2591002d4c219829fb63b8fba:/Resources/views/form/edit.html.twig diff --git a/Resources/views/form/edit.html.twig b/Resources/views/form/edit.html.twig index 8540c46..2f7286a 100644 --- a/Resources/views/form/edit.html.twig +++ b/Resources/views/form/edit.html.twig @@ -2,7 +2,7 @@ {% block title %}{{ site.title }} - {{ title }}{% endblock %} {% block content %} <section id="form"> - <h2><a href="{{ path('rapsys_user_edit', {'mail': app.user.mail|short, 'hash': app.user.mail|short|hash}) }}">{{ title }}</a></h2> + <h2><a href="{{ app.request.requesturi }}">{{ title }}</a></h2> {{ form_start(edit) }} <div> {% if edit.mail is defined %} @@ -25,6 +25,10 @@ {{ form_row(edit.pseudonym) }} {% endif %} + {% if edit.slug is defined %} + {{ form_row(edit.slug) }} + {% endif %} + {% if edit.phone is defined %} {{ form_row(edit.phone) }} {% endif %} @@ -38,7 +42,7 @@ </section> {% if reset is defined %} <section id="form"> - <h2><a href="{{ path('rapsys_user_register') }}">{{ password }}</a></h2> + <h2><a href="{{ app.request.requesturi }}">{{ password }}</a></h2> {{ form_start(reset) }} <div> {% if reset.password is defined %}