]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/register.html.twig
Inherit message before notice class
[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 %}
        <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 %}
                {% else %}
-                       <div>
+                       <section>
                                {{ form_start(form) }}
                                {{ form_start(form) }}
-
-                                       <header>{{ form_errors(form) }}</header>
-
                                        <section>
                                                {{ form_row(form.mail) }}
 
                                        <section>
                                                {{ form_row(form.mail) }}
 
@@ -36,9 +33,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 %}