add option to enable openid (disabled by default)
[wolnelektury.git] / src / wolnelektury / templates / auth / register.html
1 {% extends "ajaxable/form.html" %}
2 {% load i18n %}
3 {% load ajaxable_tags %}
4
5
6 {% block form_fields %}
7   {{ form.username|pretty_field }}
8   {{ form.email|pretty_field }}
9   {{ form.password1|pretty_field }}
10   {{ form.password2|pretty_field }}
11   {{ form.agree_newsletter|pretty_checkbox }}
12 {% endblock %}
13
14
15 {% block extra %}
16
17 {% if USE_OPENID %}
18 <h1>{% trans "Sign in using:" %}</h1>
19
20 <ul class="socialaccount_providers">
21   {% include "socialaccount/snippets/provider_list.html" %}
22 </ul>
23
24 {% include "socialaccount/snippets/login_extra.html" %}
25 {% endif %}
26
27 {% endblock %}