Debian Codegraph @

allauth/templates/socialaccount/snippets/provider_list.html

raw
1 {% load allauth socialaccount %}
2 {% get_providers as socialaccount_providers %}
3 {% if socialaccount_providers %}
4 {% element provider_list %}
5 {% for provider in socialaccount_providers %}
6 {% if provider.id == "openid" %}
7 {% for brand in provider.get_brands %}
8 {% provider_login_url provider openid=brand.openid_url process=process as href %}
9 {% element provider name=brand.name provider_id=provider.id href=href %}
10 {% endelement %}
11 {% endfor %}
12 {% endif %}
13 {% provider_login_url provider process=process scope=scope auth_params=auth_params as href %}
14 {% element provider name=provider.name provider_id=provider.id href=href %}
15 {% endelement %}
16 {% endfor %}
17 {% endelement %}
18 {% endif %}