]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/register.html.twig
Add lang in html tag from request locale
[airbundle] / Resources / views / form / register.html.twig
index c4fefaf8ace411e3428dfa05515df24bb0c2a91a..2275ea9bbe8e57f6db65f75a79906ce17037ce8b 100644 (file)
@@ -3,7 +3,7 @@
        <section id="form">
                <h2>{{ title|trans }}</h2>
                {% if sent %}
        <section id="form">
                <h2>{{ title|trans }}</h2>
                {% if sent %}
-                       <p class="notice">{% trans %}Your account has been created{% endtrans %}</p>
+                       <p class="message notice">{% trans %}Your account has been created{% endtrans %}</p>
                {% else %}
                        <section>
                                {{ form_start(form) }}
                {% else %}
                        <section>
                                {{ form_start(form) }}
@@ -13,9 +13,7 @@
                                                {{ form_row(form.password.first) }}
 
                                                {{ form_row(form.password.second) }}
                                                {{ 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) }}