-{% 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="message 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) }}
{{ form_row(form.password.first) }}
{{ form_row(form.password.second) }}
- </section>
- <section>
{{ form_row(form.title) }}
{{ form_row(form.forename) }}
<footer style="display:none">
{{ form_rest(form) }}
</footer>
-
{{ form_end(form) }}
- </div>
+ </section>
{% endif %}
</section>
{% endblock %}