File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22{% load i18n %}
33{% load account %}
44{% load django_bootstrap_breadcrumbs %}
5+ {% load account socialaccount %}
56
67{% block head_title %}{% trans "Sign In" %} · {{ block.super }}{% endblock %}
78
1718 < div class ="form-container space-2-bottom {% if form.errors %} has-error {% endif %} ">
1819 < h2 class ="text-center "> {% trans "Sign In" %}</ h2 >
1920 < div class ="pad-2 push-half-top push-2-bottom ">
20- {% if socialaccount.providers %}
21+ {% get_providers as socialaccount_providers %}
22+ {% if socialaccount_providers %}
2123 < p >
2224 {% blocktrans %}Sign in with your third party accounts or using an existing account:{% endblocktrans %}
2325 </ p >
Original file line number Diff line number Diff line change 11{% load socialaccount %}
2+ {% get_providers as socialaccount_providers %}
23
3- {% for provider in socialaccount.providers %}
4+ {% for provider in socialaccount_providers %}
45 {% if provider.id == "openid" %}
56 {% for brand in provider.get_brands %}
67 < li >
Original file line number Diff line number Diff line change 6666 'allauth.socialaccount' ,
6767 'allauth.socialaccount.providers.google' ,
6868 'allauth.socialaccount.providers.github' ,
69- 'allauth.socialaccount.providers.twitter' ,
70- 'allauth.socialaccount.providers.linkedin' ,
71- 'allauth.socialaccount.providers.facebook' ,
7269
7370 'bootstrap3' ,
7471
You can’t perform that action at this time.
0 commit comments