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