X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/9e2a16e35d837335d31d4bfefb01e1e688376058..9b176789ea25ad0a7b67789caa25d102894f8858:/Resources/views/form/register.html.twig?ds=inline diff --git a/Resources/views/form/register.html.twig b/Resources/views/form/register.html.twig index c4fefaf..7f1e1e0 100644 --- a/Resources/views/form/register.html.twig +++ b/Resources/views/form/register.html.twig @@ -1,40 +1,34 @@ {% extends '@RapsysAir/body.html.twig' %} {% block content %}
-

{{ title|trans }}

+

{% trans %}Register{% endtrans %}

{% if sent %} -

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

+

{% 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.title) }} - {{ 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 %}