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