X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2f1c330e555c24deb17b7d6018b59c52dab7aafd..f551c7053c91818b3ac0dfccc2e699dc6517fae1:/wolnelektury/templates/auth/login.html?ds=inline

diff --git a/wolnelektury/templates/auth/login.html b/wolnelektury/templates/auth/login.html
index 6db94aa22..caa0aea2c 100644
--- a/wolnelektury/templates/auth/login.html
+++ b/wolnelektury/templates/auth/login.html
@@ -1,24 +1,20 @@
-{% extends "base.html" %}
+{% load i18n %}
+<h1>{{ title }}</h1>
 
-{% block title %}Zaloguj / Zarejestruj się w WolneLektury.pl{% endblock %}
+<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>
 
-{% block body %}
-    <h1>Zaloguj się / Załóż konto</h1>
-    <form action="." method="get" accept-charset="utf-8" id="search-form">
-        <p><li>{{ search_form.q }} <input type="submit" value="Szukaj" /></li> <strong>lub</strong> <a href="{% url main_page %}">wróć do strony głównej</a></p>
-    </form>
-    <form method="post" action="." id="login-form" class="cuteform">
-        <h2>Zaloguj się</h2>
-        <ol>
-            {{ form.as_ul }}
-            <li><input type="submit" value="Zaloguj się" /></li>
-        </ol>
-        <p><input type="hidden" name="next" value="{{ next }}" /></p>
-    </form>
-    
-    <form action="." method="post" accept-charset="utf-8" id="registration-form">
-        <h2>Załóż konto</h2>
+<h1>{% trans "Sign in using:" %}</h1>
 
-        <p><input type="submit" value="Załóż konto"/></p>
-    </form>
-{% endblock %}
+<ul class="socialaccount_providers">
+{% include "socialaccount/snippets/provider_list.html" %}
+</ul>
+
+{% include "socialaccount/snippets/login_extra.html" %}