##// END OF EJS Templates
templates: Remove social auth plugins code from login and register templates.
johbo -
r24:fd48e82c default
parent child Browse files
Show More
@@ -1,6 +1,5 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="base/root.html"/>
2 <%inherit file="base/root.html"/>
3 <%namespace file="base/social_buttons.html" import="render_social_buttons"/>
4
3
5 <%def name="title()">
4 <%def name="title()">
6 ${_('Sign In')}
5 ${_('Sign In')}
@@ -57,15 +56,6 b''
57 })
56 })
58 </script>
57 </script>
59 </div>
58 </div>
60
61 % if c.social_plugins:
62 <p>${_('Sign In using one of external services')}:</p>
63
64 <p>
65 ${render_social_buttons(c.social_plugins, 'login')}
66 </p>
67 % endif
68
69 <!-- end login -->
59 <!-- end login -->
70 </div>
60 </div>
71 </div>
61 </div>
@@ -1,6 +1,5 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="base/root.html"/>
2 <%inherit file="base/root.html"/>
3 <%namespace file="base/social_buttons.html" import="render_social_buttons"/>
4
3
5 <%def name="title()">
4 <%def name="title()">
6 ${_('Create an Account')}
5 ${_('Create an Account')}
@@ -72,15 +71,6 b''
72
71
73 ${h.end_form()}
72 ${h.end_form()}
74 </div>
73 </div>
75
76 % if c.social_plugins:
77 <p>${_('Register using one of external services')}:</p>
78
79 <p>
80 ${render_social_buttons(c.social_plugins, 'register')}
81 </p>
82 % endif
83
84 </div>
74 </div>
85 </div>
75 </div>
86 </div>
76 </div>
General Comments 0
You need to be logged in to leave comments. Login now