templates: Remove social buttons template.

This commit is contained in:
Johannes Bornhold 2016-05-24 15:51:52 +02:00
parent cb92fcf7b4
commit 9deeea15fe

View file

@ -1,13 +0,0 @@
<%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>