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>
 
  16 <form class="uniForm" method="post">
 
  19 <fieldset class="blockLabels">
 
  20 {% if form.non_field_errors %}
 
  21 <div id="errorMsg">{{form.non_field_errors}}</div>
 
  24 {% for base_account in form.accounts %}
 
  25 {% with base_account.get_provider_account as account %}
 
  26 <div class="ctrlHolder">
 
  27 <label for="id_account_{{base_account.id}}">
 
  28 <input id="id_account_{{base_account.id}}" type="radio" name="account" value="{{base_account.id}}"/>
 
  29 <span class="socialaccount_provider {{base_account.provider}} {{account.get_brand.id}}">{{account.get_brand.name}}</span>
 
  30 <small>{{account}}</small>
 
  36 <div class="buttonHolder">
 
  37 <button type="submit">{% trans "Remove" %}</button>
 
  45 <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" with process="connect" %}
 
  55 {% include "socialaccount/snippets/login_extra.html" %}