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