diff --git a/rhodecode/templates/register.mako b/rhodecode/templates/register.mako --- a/rhodecode/templates/register.mako +++ b/rhodecode/templates/register.mako @@ -32,7 +32,12 @@
-

${_('Create an account')}

+ % if social_auth_provider: +

${_('Create an account linked with {}').format(social_auth_provider)}

+ % else: +

${_('Create an account')}

+ % endif +

${h.link_to(_("Go to the login page to sign in with an existing account."), request.route_path('login'))}

@@ -45,6 +50,11 @@
%endif + % if social_auth_provider: + ## hide password prompts for social auth +
+ % endif + ${h.password('password', defaults.get('password'))} %if 'password' in errors: @@ -59,6 +69,11 @@
%endif + % if social_auth_provider: + ## hide password prompts for social auth +
+ % endif + ${h.text('firstname', defaults.get('firstname'))} %if 'firstname' in errors: