{% extends "socialaccount/base.html" %} {% load i18n %} {% load bootstrap_tags %} {% load socialaccount_extra %} {% block title %}{% trans "Account Connections" %}{% endblock %} {% block body_outer %}

{% trans "Account Connections" %}

{% if form.accounts %}

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

{% csrf_token %} {% if form.non_field_errors %}
{{ form.non_field_errors }}
{% endif %} {% for base_account in form.accounts %} {% with base_account.get_provider_account as account %}
{{ account.get_brand.name }} account: {{ account }}
{% endwith %} {% endfor %}
{% else %}

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

{% endif %} {% get_number_unconnected_providers user as unconnected_providers %} {% if unconnected_providers > 0 %}

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

{% include "socialaccount/snippets/remaining_providers_list.html" with process="connect" %}
{% include "socialaccount/snippets/login_extra.html" %} {% endif %} {% endblock %}