diff --git a/rhodecode/templates/register.html b/rhodecode/templates/register.html --- a/rhodecode/templates/register.html +++ b/rhodecode/templates/register.html @@ -2,22 +2,33 @@ <%inherit file="base/root.html"/> <%def name="title()"> - ${_('Sign Up')} · ${c.rhodecode_name} + ${_('Sign Up')} + %if c.rhodecode_name: + · ${c.rhodecode_name} + %endif + +
-
- <% messages = h.flash.pop_messages() %> - % if messages: - - % endif -
-
-
${_('Sign Up to')} ${c.rhodecode_name}
+ <%include file="/base/flash_msg.html"/> +
${h.form(url('register'))} @@ -78,9 +89,21 @@
+ %if c.captcha_active: +
+
+ +
+
+ ${h.hidden('recaptcha_field')} +
+
+
+ %endif +
- ${h.submit('sign_up',_('Sign Up'),class_="ui-btn large")} + ${h.submit('sign_up',_('Sign Up'),class_="btn")} %if c.auto_active:
${_('Your account will be activated right after registration')}
%else: @@ -91,10 +114,21 @@
${h.end_form()} + %if c.captcha_active: + + %endif