Show More
@@ -32,7 +32,12 b'' | |||
|
32 | 32 | <div id="register" class="right-column"> |
|
33 | 33 | <!-- login --> |
|
34 | 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 | 41 | <h4>${h.link_to(_("Go to the login page to sign in with an existing account."), request.route_path('login'))}</h4> |
|
37 | 42 | </div> |
|
38 | 43 | <div class="inner form"> |
@@ -45,6 +50,11 b'' | |||
|
45 | 50 | <br /> |
|
46 | 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 | 58 | <label for="password">${_('Password')}:</label> |
|
49 | 59 | ${h.password('password', defaults.get('password'))} |
|
50 | 60 | %if 'password' in errors: |
@@ -59,6 +69,11 b'' | |||
|
59 | 69 | <br /> |
|
60 | 70 | %endif |
|
61 | 71 | |
|
72 | % if social_auth_provider: | |
|
73 | ## hide password prompts for social auth | |
|
74 | </div> | |
|
75 | % endif | |
|
76 | ||
|
62 | 77 | <label for="firstname">${_('First Name')}:</label> |
|
63 | 78 | ${h.text('firstname', defaults.get('firstname'))} |
|
64 | 79 | %if 'firstname' in errors: |
General Comments 0
You need to be logged in to leave comments.
Login now