X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..4d92a47592c359fa529a02e1407baa84204b9859:/src/wolnelektury/templates/auth/login.html?ds=inline diff --git a/src/wolnelektury/templates/auth/login.html b/src/wolnelektury/templates/auth/login.html index 756b8ad31..296571348 100644 --- a/src/wolnelektury/templates/auth/login.html +++ b/src/wolnelektury/templates/auth/login.html @@ -4,23 +4,25 @@ <h1>{{ title }}</h1> <form action="{{ request.get_full_path }}" method="post" accept-charset="utf-8" - class="cuteform{% if placeholdize %} hidelabels{% endif %}"> -{% ssi_csrf_token %} -<ol> + class="cuteform{% if placeholdize %} hidelabels{% endif %}"> + {% ssi_csrf_token %} + <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> + </ol> </form> +{% if USE_OPENID %} <h1>{% trans "Sign in using:" %}</h1> <ul class="socialaccount_providers"> -{% include "socialaccount/snippets/provider_list.html" %} + {% include "socialaccount/snippets/provider_list.html" %} </ul> {% include "socialaccount/snippets/login_extra.html" %} +{% endif %} {% block extra %} {% endblock %}