summaryrefslogtreecommitdiff
path: root/frontend/templates/pas
diff options
context:
space:
mode:
authorroot <root@dino.fm>2015-08-06 14:06:07 -0400
committerroot <root@dino.fm>2015-08-06 14:06:07 -0400
commit849ebd28a2388e3257cb360a4609d3e9dfc77dc0 (patch)
tree3bbf18032f25e25d371ac1c96e79b1f8f4a9b5c0 /frontend/templates/pas
parenteb77110c49b06606533add8a4a16e04565926fab (diff)
ok
Diffstat (limited to 'frontend/templates/pas')
-rw-r--r--frontend/templates/pas14
1 files changed, 14 insertions, 0 deletions
diff --git a/frontend/templates/pas b/frontend/templates/pas
new file mode 100644
index 0000000..0fb5d5c
--- /dev/null
+++ b/frontend/templates/pas
@@ -0,0 +1,14 @@
+{% extends "password_reset/base.html" %}{% load i18n %}{% load url from future %}
+
+{% block content %}
+ {% if invalid %}{% url "password_reset_recover" as recovery_url %}
+ <p>{% blocktrans %}Sorry, this password reset link is invalid. You can still <a href="{{ recovery_url }}">request a new one</a>.{% endblocktrans %}</p>
+ {% else %}
+ <p>{% blocktrans %}Hi, <strong>{{ username }}</strong>. Please choose your new password.{% endblocktrans %}</p>
+ <form method="post" action="{% url "password_reset_reset" token %}">
+ {% csrf_token %}
+ {{ form.as_p }}
+ <p><input type="submit" value="{% trans "Set new password" %}"></p>
+ </form>
+ {% endif %}
+{% endblock %}