From: Raphaƫl Gertz Date: Thu, 12 Aug 2021 15:41:55 +0000 (+0200) Subject: Add register template X-Git-Tag: 0.2.0~87 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/afe9a4a1e36cab2e5fd0b352131f20765dc48a66 Add register template --- diff --git a/Resources/views/form/_register.html.twig b/Resources/views/form/_register.html.twig new file mode 100644 index 0000000..19b03fb --- /dev/null +++ b/Resources/views/form/_register.html.twig @@ -0,0 +1,41 @@ +
+

{% trans %}Register{% endtrans %}

+ {{ form_start(forms.register) }} +
+ {% if forms.register.mail is defined %} + {{ form_row(forms.register.mail) }} + {% endif %} + + {% if forms.register.password is defined %} + {{ form_row(forms.register.password.first) }} + + {{ form_row(forms.register.password.second) }} + {% endif %} + + {% if forms.register.civility is defined %} + {{ form_row(forms.register.civility) }} + {% endif %} + + {% if forms.register.forename is defined %} + {{ form_row(forms.register.forename) }} + {% endif %} + + {% if forms.register.surname is defined %} + {{ form_row(forms.register.surname) }} + {% endif %} + + {% if forms.register.pseudonym is defined %} + {{ form_row(forms.register.pseudonym) }} + {% endif %} + + {% if forms.register.phone is defined %} + {{ form_row(forms.register.phone) }} + {% endif %} + + {{ form_row(forms.register.submit) }} +
+ + {# Render CSRF token etc .#} + + {{ form_end(forms.register) }} +