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