X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/87e084d47c335cd6f0b3e91d614999f55d148044..b2f4ade206d7b14e14cd902eddd990e84eb6552f:/src/wolnelektury/templates/socialaccount/connections.html?ds=sidebyside diff --git a/src/wolnelektury/templates/socialaccount/connections.html b/src/wolnelektury/templates/socialaccount/connections.html index 0c7316ed4..681038601 100644 --- a/src/wolnelektury/templates/socialaccount/connections.html +++ b/src/wolnelektury/templates/socialaccount/connections.html @@ -13,31 +13,25 @@

{% blocktrans %}You can sign in to your account using any of the following third party accounts:{% endblocktrans %}

-
+ {% csrf_token %} -
{% if form.non_field_errors %} -
{{form.non_field_errors}}
+
{{form.non_field_errors}}
{% endif %} {% for base_account in form.accounts %} {% with base_account.get_provider_account as account %} -
-
+

{% endwith %} {% endfor %} -
-
-
@@ -45,6 +39,7 @@

{% trans "You currently have no social network accounts connected to this account." %}

{% endif %} +{% if USE_OPENID %}

{% trans 'Add a 3rd Party Account' %}

{% include "socialaccount/snippets/login_extra.html" %} +{% endif %} {% endblock %}