From: Raphaƫl Gertz Date: Wed, 11 Dec 2019 04:38:11 +0000 (+0100) Subject: Add recover and login form fragments X-Git-Tag: 0.1.1~28 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/c5576c3388507075d79944120d610e9692d91da6?ds=inline;hp=1476978ece976e1992e3914abff25e0822af90be Add recover and login form fragments --- diff --git a/Resources/views/form/_application.html.twig b/Resources/views/form/_application.html.twig new file mode 100644 index 0000000..b165790 --- /dev/null +++ b/Resources/views/form/_application.html.twig @@ -0,0 +1,20 @@ +{{ form_start(application) }} +
+ {% if application.user is defined %} + {{ form_row(application.user) }} + {% endif %} + + {{ form_row(application.location) }} + + {{ form_row(application.date) }} + + {{ form_row(application.slot) }} +
+ + {{ form_row(application.submit) }} + + {# Render CSRF token etc .#} + +{{ form_end(application) }} diff --git a/Resources/views/form/_login.html.twig b/Resources/views/form/_login.html.twig new file mode 100644 index 0000000..61d55de --- /dev/null +++ b/Resources/views/form/_login.html.twig @@ -0,0 +1,16 @@ +{{ form_start(login) }} + +
+ {{ form_row(login.mail) }} + + {{ form_row(login.password) }} +
+ + {{ form_row(login.submit) }} + + {# Render CSRF token etc .#} + + +{{ form_end(login) }}