Imports at the start.
[wolnelektury.git] / src / wolnelektury / templates / auth / login.html
1 {% load i18n %}
2
3 <h1>{{ title }}</h1>
4
5 <form action="{{ request.get_full_path }}" method="post" accept-charset="utf-8"
6       class="cuteform{% if placeholdize %} hidelabels{% endif %}">
7   {% csrf_token %}
8   <ol>
9     <div id="id_{% if form_prefix %}{{ form_prefix }}-{% endif %}__all__"></div>
10     {{ form.as_ul }}
11     <li><a href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a></li>
12     <li><input type="submit" value="{{ submit }}"/></li>
13   </ol>
14 </form>
15
16 {% if USE_OPENID %}
17 <h1>{% trans "Sign in using:" %}</h1>
18
19 <ul class="socialaccount_providers">
20   {% include "socialaccount/snippets/provider_list.html" %}
21 </ul>
22
23 {% include "socialaccount/snippets/login_extra.html" %}
24 {% endif %}
25
26 {% block extra %}
27 {% endblock %}