{% extends "socialaccount/base_manage.html" %} {% load allauth %} {% load socialaccount %} {% block head_title %} Account Connections {% endblock head_title %} {% block content_title %} Account Connections {% endblock content_title %} {% block content %} {% if form.accounts %} {% element p %} You can sign in to your account using any of the following third-party accounts: {% endelement %} {% url 'socialaccount_connections' as action_url %} {% element form form=form method="post" action=action_url %} {% slot body %} {% csrf_token %}
{% for acc in form.fields.account.choices %} {% with account=acc.0.instance.get_provider_account %} {% setvar radio_id %} id_account_{{ account.account.pk }} {% endsetvar %} {% setvar tags %} socialaccount,{{ account.account.provider }} {% endsetvar %}
{% include "app/icons/key.svg" with classes="w-5 h-5 mr-3 text-purple-400" %}

{{ account }}

{{ account.get_brand.name }}

{% endwith %} {% endfor %}
{% endslot %} {% endelement %} {% else %} {% element p %} You currently have no third-party accounts connected to this account. {% endelement %} {% endif %} {% get_providers as socialaccount_providers %} {% if socialaccount_providers %}
Add a Third-Party Account
{% include "socialaccount/snippets/provider_list.html" with process="connect" %} {% include "socialaccount/snippets/login_extra.html" %} {% endif %}
{% include "app/icons/house.svg" with classes="w-5 h-5" %} Back to Home
{% endblock content %}