##// END OF EJS Templates
social-auth: add more explicit message about binding accounts on registation page.
marcink -
r2905:62c72b0b default
parent child Browse files
Show More
@@ -32,7 +32,12 b''
32 <div id="register" class="right-column">
32 <div id="register" class="right-column">
33 <!-- login -->
33 <!-- login -->
34 <div class="sign-in-title">
34 <div class="sign-in-title">
35 <h1>${_('Create an account')}</h1>
35 % if social_auth_provider:
36 <h1>${_('Create an account linked with {}').format(social_auth_provider)}</h1>
37 % else:
38 <h1>${_('Create an account')}</h1>
39 % endif
40
36 <h4>${h.link_to(_("Go to the login page to sign in with an existing account."), request.route_path('login'))}</h4>
41 <h4>${h.link_to(_("Go to the login page to sign in with an existing account."), request.route_path('login'))}</h4>
37 </div>
42 </div>
38 <div class="inner form">
43 <div class="inner form">
@@ -45,6 +50,11 b''
45 <br />
50 <br />
46 %endif
51 %endif
47
52
53 % if social_auth_provider:
54 ## hide password prompts for social auth
55 <div style="display: none">
56 % endif
57
48 <label for="password">${_('Password')}:</label>
58 <label for="password">${_('Password')}:</label>
49 ${h.password('password', defaults.get('password'))}
59 ${h.password('password', defaults.get('password'))}
50 %if 'password' in errors:
60 %if 'password' in errors:
@@ -59,6 +69,11 b''
59 <br />
69 <br />
60 %endif
70 %endif
61
71
72 % if social_auth_provider:
73 ## hide password prompts for social auth
74 </div>
75 % endif
76
62 <label for="firstname">${_('First Name')}:</label>
77 <label for="firstname">${_('First Name')}:</label>
63 ${h.text('firstname', defaults.get('firstname'))}
78 ${h.text('firstname', defaults.get('firstname'))}
64 %if 'firstname' in errors:
79 %if 'firstname' in errors:
General Comments 0
You need to be logged in to leave comments. Login now