]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/register.html.twig
Responsive switch at 850px
[airbundle] / Resources / views / form / register.html.twig
index ca69b5e67c8044ee585f65f0c2c2516661819be3..c4fefaf8ace411e3428dfa05515df24bb0c2a91a 100644 (file)
@@ -1,15 +1,12 @@
-{% extends '@RapsysAir/base.html.twig' %}
+{% extends '@RapsysAir/body.html.twig' %}
 {% block content %}
        <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) }}
 
@@ -26,6 +23,8 @@
                                                {{ form_row(form.surname) }}
 
                                                {{ form_row(form.pseudonym) }}
+
+                                               {{ form_row(form.phone) }}
                                        </section>
 
                                        {{ form_row(form.submit) }}
@@ -34,9 +33,8 @@
                                        <footer style="display:none">
                                                {{ form_rest(form) }}
                                        </footer>
-
                                {{ form_end(form) }}
-                       </div>
+                       </section>
                {% endif %}
        </section>
 {% endblock %}