<commit_before>{% extends "socialaccount/base.html" %}

{% load i18n %}
{% load url from future %}

{% block head_title %}{% trans "Your accounts" %}{% endblock %}

{% block content_header %}{% trans "Your accounts" %}{% endblock %}

{% block content %}
{% if form.accounts %}
<p>{% blocktrans %}You can sign in to your account using any of the following third party accounts:{% endblocktrans %}</p>

<form method="post" action="{% url 'socialaccount_connections' %}">
{% csrf_token %}

{% if form.non_field_errors %}
<div class="errors">{{ form.non_field_errors }}</div>
{% endif %}

{% for base_account in form.accounts %}
{% with base_account.get_provider_account as account %}
<div>
<label for="id_account_{{ base_account.id }}">
<input id="id_account_{{ base_account.id }}" type="radio" name="account" value="{{ base_account.id }}"/>
<span class="socialaccount_provider {{ base_account.provider }} {{ account.get_brand.id }}">{{ account.get_brand.name }}</span><em>{{ account }}</em>
</label>
</div>
{% endwith %}
{% endfor %}

<div>
<button type="submit">{% trans 'Remove' %}</button>
</div>

</form>

{% else %}
<p>{% trans 'You currently have no 3rd party accounts connected to this account.' %}</p>
{% endif %}

<h2>{% trans 'Add a new account' %}</h2>

<ul class="button-group radius socialaccount_providers">
{% include "socialaccount/snippets/provider_list.html" with process="connect" %}
</ul>

{% include "socialaccount/snippets/login_extra.html" %}

{% endblock %}
<commit_msg>Sigh.<commit_after>{% extends "socialaccount/base.html" %}

{% load i18n %}
{% load url from future %}

{% block head_title %}{% trans "Your accounts" %}{% endblock %}

{% block content_header %}{% trans "Your accounts" %}{% endblock %}

{% block content %}
{% if form.accounts %}
<p>{% blocktrans %}You can sign in to your account using any of the following third party accounts:{% endblocktrans %}</p>

<form method="post" action="{% url 'socialaccount_connections' %}">
{% csrf_token %}

{% if form.non_field_errors %}
<div class="errors">{{ form.non_field_errors }}</div>
{% endif %}

{% for base_account in form.accounts %}
{% with base_account.get_provider_account as account %}
<div>
<label for="id_account_{{ base_account.id }}">
<input id="id_account_{{ base_account.id }}" type="radio" name="account" value="{{ base_account.id }}"/>
<span class="socialaccount_provider {{ base_account.provider }} {{ account.get_brand.id }}">{{ account.get_brand.name }}</span><em> {{ account }}</em>
</label>
</div>
{% endwith %}
{% endfor %}

<div>
<button type="submit">{% trans 'Remove' %}</button>
</div>

</form>

{% else %}
<p>{% trans 'You currently have no 3rd party accounts connected to this account.' %}</p>
{% endif %}

<h2>{% trans 'Add a new account' %}</h2>

<ul class="button-group radius socialaccount_providers">
{% include "socialaccount/snippets/provider_list.html" with process="connect" %}
</ul>

{% include "socialaccount/snippets/login_extra.html" %}

{% endblock %}

{'fraction_non_alphanumeric': 0.1965065502183406, 'fraction_numerical': 0.003359086328518643, 'mean_word_length': 5.431965442764579, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 53, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2010182', 'n_tokens_mistral': 1058, 'n_tokens_neox': 958, 'n_words': 262}