]> Raphaël G. Git Repositories - airbundle/commitdiff
Inherit message before notice class
authorRaphaël Gertz <git@rapsys.eu>
Sun, 29 Nov 2020 06:47:47 +0000 (07:47 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Sun, 29 Nov 2020 06:47:47 +0000 (07:47 +0100)
Resources/views/form/register.html.twig

index c4fefaf8ace411e3428dfa05515df24bb0c2a91a..2275ea9bbe8e57f6db65f75a79906ce17037ce8b 100644 (file)
@@ -3,7 +3,7 @@
        <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) }}
@@ -13,9 +13,7 @@
                                                {{ form_row(form.password.first) }}
 
                                                {{ form_row(form.password.second) }}
-                                       </section>
 
-                                       <section>
                                                {{ form_row(form.title) }}
 
                                                {{ form_row(form.forename) }}