X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/58242917a50ec39071529953e77343fd3eb6dda0..5780b6e0db52e51cc655e3b3cadabe56fbf0b386:/Resources/views/form/register.html.twig diff --git a/Resources/views/form/register.html.twig b/Resources/views/form/register.html.twig index ca69b5e..c4fefaf 100644 --- a/Resources/views/form/register.html.twig +++ b/Resources/views/form/register.html.twig @@ -1,15 +1,12 @@ -{% extends '@RapsysAir/base.html.twig' %} +{% extends '@RapsysAir/body.html.twig' %} {% block content %} <section id="form"> <h2>{{ title|trans }}</h2> {% if sent %} - <p>{% trans %}Your account has been created{% endtrans %}</p> + <p class="notice">{% trans %}Your account has been created{% endtrans %}</p> {% else %} - <div> + <section> {{ form_start(form) }} - - <header>{{ form_errors(form) }}</header> - <section> {{ form_row(form.mail) }} @@ -26,6 +23,8 @@ {{ form_row(form.surname) }} {{ form_row(form.pseudonym) }} + + {{ form_row(form.phone) }} </section> {{ form_row(form.submit) }} @@ -34,9 +33,8 @@ <footer style="display:none"> {{ form_rest(form) }} </footer> - {{ form_end(form) }} - </div> + </section> {% endif %} </section> {% endblock %}