X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/cf21ebb1502a1f5b7dfc285b9f9e3af4ede3e993..013ec8a416d4ff1ea3e1f2fa9ee2935623197ecd:/apps/wolnelektury_core/templates/auth/login.html diff --git a/apps/wolnelektury_core/templates/auth/login.html b/apps/wolnelektury_core/templates/auth/login.html index 6d71cd5b4..756b8ad31 100644 --- a/apps/wolnelektury_core/templates/auth/login.html +++ b/apps/wolnelektury_core/templates/auth/login.html @@ -1,13 +1,15 @@ {% load i18n %} +{% load ssi_csrf_token from ssify %} + <h1>{{ title }}</h1> <form action="{{ request.get_full_path }}" method="post" accept-charset="utf-8" class="cuteform{% if placeholdize %} hidelabels{% endif %}"> -{% csrf_token %} +{% 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><a href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a></li> <li><input type="submit" value="{{ submit }}"/></li> </ol> </form>