X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9c5d9a4e77a10b4e60d89d3890e49002bd7f3993..a6db1ef5159ff618a9d1a78ff14fd705a106c130:/wolnelektury/templates/auth/login.html diff --git a/wolnelektury/templates/auth/login.html b/wolnelektury/templates/auth/login.html index a168ff7f8..ba5385a13 100644 --- a/wolnelektury/templates/auth/login.html +++ b/wolnelektury/templates/auth/login.html @@ -1,25 +1,17 @@ -{% extends "base.html" %} {% load i18n %} +<h1>{{ title }}</h1> -{% block title %}{% trans "Sign in" %} / {% trans "Register on"%} 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 your password?" %}</a></li> + <li><input type="submit" value="{{ submit }}"/></li> +</ol> +</form> -{% 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> +<h1>{% trans "or merge accounts:" %}</h1> - <form action="." method="post" accept-charset="utf-8" id="registration-form"> - <h2>{% trans "Register" %}</h2> +{% include "socialaccount/snippets/provider_list.html" %} - <p><input type="submit" value="{% trans "Register" %}"/></p> - </form> -{% endblock %}