]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/register.html.twig
Add application add error landing form
[airbundle] / Resources / views / form / register.html.twig
index 740abb0c43197931eef85f7ba24470197a7d7ee3..2275ea9bbe8e57f6db65f75a79906ce17037ce8b 100644 (file)
@@ -3,22 +3,17 @@
        <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) }}
@@ -36,9 +31,8 @@
                                        <footer style="display:none">
                                                {{ form_rest(form) }}
                                        </footer>
-
                                {{ form_end(form) }}
-                       </div>
+                       </section>
                {% endif %}
        </section>
 {% endblock %}