Introduce DRF and start replacing the views.
[wolnelektury.git] / src / wolnelektury / templates / auth / login.html
1 {% load i18n %}
2 {% load ssi_csrf_token from ssify %}
3
4 <h1>{{ title }}</h1>
5
6 <form action="{{ request.get_full_path }}" method="post" accept-charset="utf-8"
7       class="cuteform{% if placeholdize %} hidelabels{% endif %}">
8   {% ssi_csrf_token %}
9   <ol>
10     <div id="id_{% if form_prefix %}{{ form_prefix }}-{% endif %}__all__"></div>
11     {{ form.as_ul }}
12     <li><a href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a></li>
13     <li><input type="submit" value="{{ submit }}"/></li>
14   </ol>
15 </form>
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 {% block extra %}
28 {% endblock %}