]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/register.html.twig
Add session index function
[airbundle] / Resources / views / form / register.html.twig
index 740abb0c43197931eef85f7ba24470197a7d7ee3..c4fefaf8ace411e3428dfa05515df24bb0c2a91a 100644 (file)
@@ -3,13 +3,10 @@
        <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) }}
 
@@ -36,9 +33,8 @@
                                        <footer style="display:none">
                                                {{ form_rest(form) }}
                                        </footer>
-
                                {{ form_end(form) }}
-                       </div>
+                       </section>
                {% endif %}
        </section>
 {% endblock %}