{% extends 'socialaccount/base.html' %} {% load i18n %} {% load crispy_forms_tags %} {% block head_title %}{% translate "account connections"|title %}{% endblock head_title %} {% block breadcrumb %} {# NOTE: Translations that are 'supossed' to be on the go should be declared first #} {# NOTE: Is should add a 'as' in order to NOT render on template #} {% translate "account connections" as breadcrumb_translation %} {% include 'common/include/breadcrumb.html' with breadcrumbs='account connections' no_separation=True %} {% endblock breadcrumb %} {% block content %}

{% translate "account connections"|title %}


{% include 'registration/include/user_context_menu.html' %}
{% if form.accounts %}

{% translate "you can sign in to your account using any of the following third party accounts:"|capfirst %}

{% 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 %}
{% endwith %} {% endfor %}
{% else %}

{% translate 'you currently have no social network accounts connected to this account.'|capfirst %}

{% endif %}

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


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