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