]> Raphaƫl G. Git Repositories - blogbundle/blobdiff - Resources/views/form/register.html.twig
Update message
[blogbundle] / Resources / views / form / register.html.twig
index 59229805aa3f6c7f4bfddd6a546d45d37a2be32f..86080a64e1c83fcd1c3490fe4c56aa36b92fa9ee 100644 (file)
@@ -5,51 +5,51 @@
                        <h2><a href="{{ path('rapsys_user_register') }}">{{ title }}</a></h2>
                </header>
                <section>
-               {% if disabled is defined and disabled %}
-                       <p class="message error">{% trans %}Your account has been disabled{% endtrans %}</p>
-               {% elseif sent is defined and sent %}
-                       <p class="message notice">{% trans %}Your verification mail has been sent, to activate your account you must follow the confirmation link inside{% endtrans %}</p>
-                       <p class="message warning">{% trans %}If you did not receive a verification mail, check your Spam or Junk mail folders{% endtrans %}</p>
-               {% else %}
-                       {{ form_start(register) }}
-                               {% if register.mail is defined %}
-                                       {{ form_row(register.mail) }}
-                               {% endif %}
-
-                               {% if register.password is defined %}
-                                       {{ form_row(register.password) }}
-                               {% endif %}
-
-                               {% if register.civility is defined %}
-                                       {{ form_row(register.civility) }}
-                               {% endif %}
-
-                               {% if register.forename is defined %}
-                                       {{ form_row(register.forename) }}
-                               {% endif %}
-
-                               {% if register.surname is defined %}
-                                       {{ form_row(register.surname) }}
-                               {% endif %}
-
-                               {% if register.pseudonym is defined %}
-                                       {{ form_row(register.pseudonym) }}
-                               {% endif %}
-
-                               {% if register.slug is defined %}
-                                       {{ form_row(register.slug) }}
-                               {% endif %}
-
-                               {% if register.phone is defined %}
-                                       {{ form_row(register.phone) }}
-                               {% endif %}
-
-                               {{ form_row(register.submit) }}
-
-                               {# Render CSRF token etc .#}
-                               <footer style="display:none">{{ form_rest(register) }}</footer>
-                       {{ form_end(register) }}
-               {% endif %}
+                       {% if disabled is defined and disabled %}
+                               <p class="message error">{% trans %}Your account has been disabled{% endtrans %}</p>
+                       {% elseif sent is defined and sent %}
+                               <p class="message notice">{% trans %}Your verification mail has been sent, to activate your account follow the confirmation link inside{% endtrans %}</p>
+                               <p class="message warning">{% trans %}If you did not receive a verification mail, check your Spam or Junk mail folder{% endtrans %}</p>
+                       {% else %}
+                               {{ form_start(register) }}
+                                       {% if register.mail is defined %}
+                                               {{ form_row(register.mail) }}
+                                       {% endif %}
+
+                                       {% if register.password is defined %}
+                                               {{ form_row(register.password) }}
+                                       {% endif %}
+
+                                       {% if register.civility is defined %}
+                                               {{ form_row(register.civility) }}
+                                       {% endif %}
+
+                                       {% if register.forename is defined %}
+                                               {{ form_row(register.forename) }}
+                                       {% endif %}
+
+                                       {% if register.surname is defined %}
+                                               {{ form_row(register.surname) }}
+                                       {% endif %}
+
+                                       {% if register.pseudonym is defined %}
+                                               {{ form_row(register.pseudonym) }}
+                                       {% endif %}
+
+                                       {% if register.slug is defined %}
+                                               {{ form_row(register.slug) }}
+                                       {% endif %}
+
+                                       {% if register.phone is defined %}
+                                               {{ form_row(register.phone) }}
+                                       {% endif %}
+
+                                       {{ form_row(register.submit) }}
+
+                                       {# Render CSRF token etc .#}
+                                       <footer style="display:none">{{ form_rest(register) }}</footer>
+                               {{ form_end(register) }}
+                       {% endif %}
                </section>
        </section>
 {% endblock %}