]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/recover.html.twig
Remove unused template
[airbundle] / Resources / views / form / recover.html.twig
index 310b4853c5e42f0c75708a6c00d2f14ac7356b4e..ac5eee45b8a126f2bd8d5e6f19cef4b1c958b02d 100644 (file)
@@ -8,7 +8,13 @@
                {% else %}
                        {{ form_start(form) }}
                                <div>
                {% else %}
                        {{ form_start(form) }}
                                <div>
-                                       {{ form_row(form.mail) }}
+                                       {% if form.mail is defined %}
+                                               {{ form_row(form.mail) }}
+                                       {% endif %}
+
+                                       {% if form.password is defined %}
+                                               {{ form_row(form.password) }}
+                                       {% endif %}
 
                                        {{ form_row(form.submit) }}
                                </div>
 
                                        {{ form_row(form.submit) }}
                                </div>