1 {% extends "site_base.html" %}
 
   5 {% block head_title %}{% trans "Połączone konta" %}{% endblock %}
 
   8   <div class="normal-text white-box">
 
  10     <h1>{% trans "Połączone konta" %}</h1>
 
  12 {% if form.accounts %}
 
  13 <p>{% blocktrans %}Możesz się logować, używając jednego z tych zewnętrznych kont:{% 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 "Usuń" %}</button>
 
  39 <p>{% trans "Nie masz podłączonych żadnych zewnętrznych kont." %}</p>
 
  43 <h2>{% trans 'Podłącz zewnętrzne konto' %}</h2>
 
  45 <ul class="socialaccount_providers">
 
  46 {% include "socialaccount/snippets/provider_list.html" with process="connect" %}
 
  49 {% include "socialaccount/snippets/login_extra.html" %}