X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/c26ab6ee15974c1133a6d08c459b51199185f25f..e6dd6130291ef3a958bd6d8666ee16ad8e633056:/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 7fbd570c0..756b8ad31 100644 --- a/apps/wolnelektury_core/templates/auth/login.html +++ b/apps/wolnelektury_core/templates/auth/login.html @@ -1,12 +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 %}"> +{% 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>