26 lines
747 B
HTML
26 lines
747 B
HTML
{% load socialaccount %}
|
|
|
|
{% if not socialaccount_providers %}
|
|
{% get_providers as socialaccount_providers %}
|
|
{% endif %}
|
|
|
|
{% for provider in socialaccount_providers %}
|
|
{% if provider.id == "openid" %}
|
|
{% for brand in provider.get_brands %}
|
|
<li class="method-wrapper provider-openid-{{ brand.id }}">
|
|
<a title="{{ brand.name }}"
|
|
href="{% provider_login_url provider.id openid=brand.openid_url process=process %}"
|
|
>
|
|
{{ brand.name }}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
{% endif %}
|
|
<li class="method-wrapper provider-{{ provider.id }}">
|
|
<a title="{{ provider.name }}"
|
|
href="{% provider_login_url provider.id process=process scope=scope auth_params=auth_params %}"
|
|
>
|
|
{{ provider.name }}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|