local changes from server
[redakcja.git] / redakcja / templates / registration / password_reset_confirm.html
diff --git a/redakcja/templates/registration/password_reset_confirm.html b/redakcja/templates/registration/password_reset_confirm.html
new file mode 100644 (file)
index 0000000..e364c13
--- /dev/null
@@ -0,0 +1,23 @@
+{% extends "catalogue/base.html" %}
+{% load i18n %}
+{% load bootstrap_tags %}
+
+{% block inner_content %}
+<h1>{{ title }}</h1>
+
+{% if validlink %}
+
+<p>{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}</p>
+
+<form action="" method="post">{% csrf_token %}
+{{ form|as_bootstrap }}
+<input type="submit" class="btn btn-default" value="{% trans 'Change my password' %}">
+</form>
+
+{% else %}
+
+<p>{% trans "The password reset link was invalid, possibly because it has already been used.  Please request a new password reset." %}</p>
+
+{% endif %}
+
+{% endblock %}