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