From afe9a4a1e36cab2e5fd0b352131f20765dc48a66 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 12 Aug 2021 17:41:55 +0200 Subject: [PATCH] Add register template --- Resources/views/form/_register.html.twig | 41 ++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Resources/views/form/_register.html.twig 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) }} +
-- 2.41.1