X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e0de41ae1e67c230ad1e67f34f6f4f76e53d7234..23025f539214ffbd82a597d4a1d70808d6e59f31:/wolnelektury/templates/auth/login.html diff --git a/wolnelektury/templates/auth/login.html b/wolnelektury/templates/auth/login.html index 2e80c55a3..553e873a0 100644 --- a/wolnelektury/templates/auth/login.html +++ b/wolnelektury/templates/auth/login.html @@ -1,25 +1,14 @@ -{% extends "base.html" %} +{% extends "ajaxable/form.html" %} {% load i18n %} -{% block title %}{% trans "Sign in" %} / {% trans "Register on"%} WolneLektury.pl{% endblock %} +{% block extra %} -{% block body %} - <h1>{% trans "Sign in" %} / {% trans "Register"%}</h1> - <form action="." method="get" accept-charset="utf-8" id="search-form"> - <p><li>{{ search_form.q }} <input type="submit" value="{% trans "Search" %}" /></li> <strong>{% trans "or" %}</strong> <a href="{% url main_page %}">{% trans "return to main page" %}</a></p> - </form> - <form method="post" action="." id="login-form" class="cuteform"> - <h2>{% trans "Sign in" %}</h2> - <ol> - {{ form.as_ul }} - <li><input type="submit" value="{% trans "Sign in" %}" /></li> - </ol> - <p><input type="hidden" name="next" value="{{ next }}" /></p> - </form> - - <form action="." method="post" accept-charset="utf-8" id="registration-form"> - <h2>{% trans "Register" %}</h2> +<h2>{% trans "or join accounts:" %}</h2> + +<ul class="socialauth"> +{% include "socialaccount/snippets/provider_list.html" %} +</ul> - <p><input type="submit" value="{% trans "Register" %}"/></p> - </form> {% endblock %} + +