1 {% load socialaccount %}
2 {% load static from staticfiles %}
4 {% get_providers as providers %}
5 {% for provider in providers %}
6 {% if provider.id == "openid" %}
7 {% for brand in provider.get_brands %}
9 <a title="{{brand.name}}"
10 class="socialaccount_provider {{provider.id}} {{brand.id}}"
11 href="{% provider_login_url provider.id openid=brand.openid_url process=process %}"
12 ><img alt="{{ brand.name }}"
13 src="{% static 'img/auth/'|add:brand.id|add:'.png' %}" /></a>
18 <a title="{{provider.name}}" class="socialaccount_provider {{provider.id}}"
19 href="{% provider_login_url provider.id process=process scope=scope auth_params=auth_params %}"
20 ><img alt="{{ provider.name }}"
21 src="{% static 'img/auth/'|add:provider.id|add:'.png' %}" /></a>