]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/register.html.twig
Add dbal types and orm query deps
[airbundle] / Resources / views / form / register.html.twig
index 59346f7e90e4cb5b55f3e036ad5d443e6d07c081..2275ea9bbe8e57f6db65f75a79906ce17037ce8b 100644 (file)
@@ -1,24 +1,19 @@
-{% extends '@RapsysAir/base.html.twig' %}
+{% extends '@RapsysAir/body.html.twig' %}
 {% block content %}
        <section id="form">
                <h2>{{ title|trans }}</h2>
                {% if sent %}
 {% 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 %}
                {% else %}
-                       <div>
+                       <section>
                                {{ form_start(form) }}
                                {{ form_start(form) }}
-
-                                       <header>{{ form_errors(form) }}</header>
-
                                        <section>
                                                {{ form_row(form.mail) }}
 
                                                {{ form_row(form.password.first) }}
 
                                                {{ form_row(form.password.second) }}
                                        <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) }}
                                                {{ form_row(form.title) }}
 
                                                {{ form_row(form.forename) }}
@@ -36,9 +31,8 @@
                                        <footer style="display:none">
                                                {{ form_rest(form) }}
                                        </footer>
                                        <footer style="display:none">
                                                {{ form_rest(form) }}
                                        </footer>
-
                                {{ form_end(form) }}
                                {{ form_end(form) }}
-                       </div>
+                       </section>
                {% endif %}
        </section>
 {% endblock %}
                {% endif %}
        </section>
 {% endblock %}