##// END OF EJS Templates
dependencies: Add gunicorn...
dependencies: Add gunicorn Adding gunicorn into the default environment so that we have it available when dunning nix-shell as well.

File last commit:

r1:854a839a default
r9:3eec8560 default
Show More
social_buttons.html
13 lines | 436 B | text/html | HtmlLexer
<%def name="render_social_buttons(social_plugins, context_page=None)">
%for plugin in social_plugins:
<a href="${url('social_auth', provider_name=plugin.name)}" class="btn btn-default btn-social">
%if context_page == 'login':
${_('Sign in with')} ${plugin.get_display_name()}
%elif context_page == 'register':
${_('Connect with')} ${plugin.get_display_name()}
%endif
</a>
%endfor
</%def>