1 {% extends "site_base.html" %}
 
   5 {% block head_title %}{% trans "Account Connections" %}{% endblock %}
 
   8 <div class="normal-text white-box">
 
  10 <h1>{% trans "Account Connections" %}</h1>
 
  12 {% if form.accounts %}
 
  13 <p>{% blocktrans %}You can sign in to your account using any of the following third party accounts:{% endblocktrans %}</p>
 
  19 {% if form.non_field_errors %}
 
  20 <div>{{form.non_field_errors}}</div>
 
  23 {% for base_account in form.accounts %}
 
  24 {% with base_account.get_provider_account as account %}
 
  25 <label for="id_account_{{base_account.id}}">
 
  26 <input id="id_account_{{base_account.id}}" type="radio" name="account" value="{{base_account.id}}"/>
 
  27 <span class="socialaccount_provider {{base_account.provider}} {{account.get_brand.id}}">{{account.get_brand.name}}</span>
 
  28 <small>{{account}}</small>
 
  33 <button type="submit">{% trans "Remove" %}</button>
 
  39 <p>{% trans "You currently have no social network accounts connected to this account." %}</p>
 
  43 <h2>{% trans 'Add a 3rd Party Account' %}</h2>
 
  45 <ul class="socialaccount_providers">
 
  46 {% include "socialaccount/snippets/provider_list.html" with process="connect" %}
 
  49 {% include "socialaccount/snippets/login_extra.html" %}