X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/6ae556a526cbd08e42ea73a4dca56539d76dd086..a70bc7c48c35badf69e217d35f1bb3e37be18daf:/Resources/views/form/register.html.twig?ds=sidebyside diff --git a/Resources/views/form/register.html.twig b/Resources/views/form/register.html.twig index 59346f7..d50c5d0 100644 --- a/Resources/views/form/register.html.twig +++ b/Resources/views/form/register.html.twig @@ -1,44 +1,39 @@ -{% extends '@RapsysAir/base.html.twig' %} +{% 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 %}

+

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

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