]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/_login.html.twig
Update index name
[airbundle] / Resources / views / form / _login.html.twig
index 61d55dee9ec5e54eeaf4dfff63dad7b94c3b1a47..9fb8fada8cf65c784c2aa290604f3efd8739fd20 100644 (file)
@@ -1,16 +1,15 @@
-{{ form_start(login) }}
+<section>
+       <h2><a href="{{ path('rapsysuser_login') }}">{% trans %}Login{% endtrans %}</a></h2>
+       {{ form_start(forms.login) }}
+               <div>
+                       {{ form_row(forms.login.mail) }}
 
 
-       <section>
-               {{ form_row(login.mail) }}
+                       {{ form_row(forms.login.password) }}
 
 
-               {{ form_row(login.password) }}
-       </section>
+                       {{ form_row(forms.login.submit) }}
+               </div>
 
 
-       {{ form_row(login.submit) }}
-
-       {# Render CSRF token etc .#}
-       <footer style="display:none">
-               {{ form_rest(login) }}
-       </footer>
-
-{{ form_end(login) }}
+               {# Render CSRF token etc .#}
+               <footer style="display:none">{{ form_rest(forms.login) }}</footer>
+       {{ form_end(forms.login) }}
+</section>