workaround for django ticket 17111; cover in api fix
[wolnelektury.git] / wolnelektury / templates / auth / login.html
index 553e873..7fbd570 100644 (file)
@@ -1,14 +1,23 @@
-{% extends "ajaxable/form.html" %}
 {% load i18n %}
+<h1>{{ title }}</h1>
 
-{% block extra %}
+<form action="{{ request.get_full_path }}" method="post" accept-charset="utf-8"
+       class="cuteform{% if placeholdize %} hidelabels{% endif %}">
+<ol>
+    <div id="id_{% if form_prefix %}{{ form_prefix }}-{% endif %}__all__"></div>
+    {{ form.as_ul }}
+    <li><a href="{% url account_reset_password %}">{% trans "Forgot Password?" %}</a></li>
+    <li><input type="submit" value="{{ submit }}"/></li>
+</ol>
+</form>
 
-<h2>{% trans "or join accounts:" %}</h2>
+<h1>{% trans "Sign in using:" %}</h1>
 
-<ul class="socialauth">
+<ul class="socialaccount_providers">
 {% include "socialaccount/snippets/provider_list.html" %}
 </ul>
 
-{% endblock %}
-
+{% include "socialaccount/snippets/login_extra.html" %}
 
+{% block extra %}
+{% endblock %}