Rapsys Git
/
airbundle
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1e6270
)
Set mail and password as optional fields
author
Raphaël Gertz
<git@rapsys.eu>
Sat, 28 Aug 2021 08:19:32 +0000
(10:19 +0200)
committer
Raphaël Gertz
<git@rapsys.eu>
Sat, 28 Aug 2021 08:19:32 +0000
(10:19 +0200)
Resources/views/form/recover.html.twig
patch
|
blob
|
history
diff --git
a/Resources/views/form/recover.html.twig
b/Resources/views/form/recover.html.twig
index 310b4853c5e42f0c75708a6c00d2f14ac7356b4e..ac5eee45b8a126f2bd8d5e6f19cef4b1c958b02d 100644
(file)
--- a/
Resources/views/form/recover.html.twig
+++ b/
Resources/views/form/recover.html.twig
@@
-8,7
+8,13
@@
{% 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>