X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/c3710106d44d8675001e2473e33e678e8d5262da..99cbf1604fcbf9a17488abe20954797c17eb2fd2:/Resources/views/form/register.html.twig diff --git a/Resources/views/form/register.html.twig b/Resources/views/form/register.html.twig index 2275ea9..3c419fe 100644 --- a/Resources/views/form/register.html.twig +++ b/Resources/views/form/register.html.twig @@ -1,38 +1,35 @@ {% extends '@RapsysAir/body.html.twig' %} +{% block title %}{{ site.title }} - {{ title }}{% endblock %} {% block content %}
-

{{ title|trans }}

+

{% trans %}Register{% endtrans %}

{% if sent %}

{% trans %}Your account has been created{% endtrans %}

{% else %} -
- {{ form_start(form) }} -
- {{ form_row(form.mail) }} + {{ form_start(form) }} +
+ {{ form_row(form.mail) }} - {{ form_row(form.password.first) }} + {{ form_row(form.password.first) }} - {{ form_row(form.password.second) }} + {{ form_row(form.password.second) }} - {{ form_row(form.title) }} + {{ form_row(form.civility) }} - {{ form_row(form.forename) }} + {{ form_row(form.forename) }} - {{ form_row(form.surname) }} + {{ form_row(form.surname) }} - {{ form_row(form.pseudonym) }} + {{ form_row(form.pseudonym) }} - {{ form_row(form.phone) }} -
+ {{ form_row(form.phone) }} {{ form_row(form.submit) }} + - {# Render CSRF token etc .#} -
- {{ form_rest(form) }} -
- {{ form_end(form) }} -
+ {# Render CSRF token etc .#} + + {{ form_end(form) }} {% endif %}
{% endblock %}