X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..28e9178ad9b465e89c5a784c31f9201285440962:/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 }}