]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/edit.html.twig
Update translations
[airbundle] / Resources / views / form / edit.html.twig
index e8e0adfa250cd5076c689555753b152397a5c11a..2f7286a644ea229170b159169a04e110f36a107d 100644 (file)
@@ -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 %}
@@ -42,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 %}