]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/register.html.twig
Version 0.5.0
[airbundle] / Resources / views / form / register.html.twig
index 5b0d83e74ca443336ff325a0c89bbdedb407b82d..cd71a78dc88a7b416ec0b6f85ecc280a139ea517 100644 (file)
@@ -2,7 +2,7 @@
 {% block content %}
        <article>
                <header>
-                       <h2><a href="{{ path('rapsys_user_register') }}">{{ title.page }}</a></h2>
+                       <h2><a href="{{ path('rapsysuser_register') }}">{{ title.page }}</a></h2>
                </header>
                {% if disabled is defined and disabled %}
                        <p class="message error">{% trans %}Your account has been disabled{% endtrans %}</p>
                                        {{ form_row(register.phone) }}
                                {% endif %}
 
+                               {% if register.captcha is defined %}
+                                       {{ form_row(register.captcha) }}
+                               {% endif %}
+
                                {{ form_row(register.submit) }}
 
                                {# Render CSRF token etc .#}