{% extends 'users/settings/base_settings.html' %} {% load crispy_forms_tags %} {% block content_settings %} {% if form.errors %}
{% for v in form.errors.values %} {{ v }} {% endfor %}
{% endif %}
{% if form.accounts %}

Current Connections

{% csrf_token %}
{% for acc in form.fields.account.choices %} {% with account=acc.0.instance.get_provider_account %} {% endwith %} {% endfor %}
{{ account.get_brand.name }} {{ account }}
{% else %}

You currently have no third-party accounts connected to this account.

{% endif %}

Add a Third-Party Account

{% include 'social_buttons.html' with hide_or=1 %}
{% endblock content_settings %}