X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..9c2555ad140dca1c09cde628bd22aac811e05b7e:/src/wolnelektury/templates/socialaccount/snippets/provider_list.html diff --git a/src/wolnelektury/templates/socialaccount/snippets/provider_list.html b/src/wolnelektury/templates/socialaccount/snippets/provider_list.html index 80f9c2f2d..61b39024a 100644 --- a/src/wolnelektury/templates/socialaccount/snippets/provider_list.html +++ b/src/wolnelektury/templates/socialaccount/snippets/provider_list.html @@ -1,13 +1,15 @@ {% load socialaccount %} -{% load static from staticfiles %} -{% for provider in socialaccount.providers %} +{% load static from static %} + +{% get_providers as providers %} +{% for provider in providers %} {% if provider.id == "openid" %} {% for brand in provider.get_brands %}
  • {{ brand.name }}
  • @@ -15,7 +17,7 @@ {% endif %}
  • {{ provider.name }}