1 {% extends "base.html" %}
4 {% load static from staticfiles %}
6 {% block title %}{% trans "Account Connections" %}{% endblock %}
9 <h1>{% trans "Account Connections" %}</h1>
11 {% if form.accounts %}
12 <p>{% blocktrans %}You can sign in to your account using any of the following third party accounts:{% endblocktrans %}</p>
15 <form class="uniForm" method="post">
18 <fieldset class="blockLabels">
19 {% if form.non_field_errors %}
20 <div id="errorMsg">{{form.non_field_errors}}</div>
23 {% for base_account in form.accounts %}
24 {% with base_account.get_provider_account as account %}
25 <div class="ctrlHolder">
26 <label for="id_account_{{base_account.id}}">
27 <input id="id_account_{{base_account.id}}" style="display: inline; ;" type="radio" name="account" value="{{base_account.id}}"/>
28 <!--span class="socialaccount_provider {{base_account.provider}} {{account.get_brand.id}}">{{account.get_brand.name}}</span-->
29 <img alt="{{ base_account.provider.name }}" style="vertical-align:middle"
30 src="{% static 'img/auth/'|add:account.get_brand.id|add:'.png' %}" />
31 <small>{{account}}</small>
37 <div class="buttonHolder">
38 <button type="submit">{% trans "Remove" %}</button>
46 <p>{% trans "You currently have no social network accounts connected to this account." %}</p>
49 <h2>{% trans 'Add a 3rd Party Account' %}</h2>
51 <ul class="socialaccount_providers">
52 {% include "socialaccount/snippets/provider_list.html" %}
55 {% include "socialaccount/snippets/login_extra.html" %}