From 75209aeed0140c804047b4f3466d329b9eb246b9 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Sat, 8 Oct 2011 15:52:12 +0200 Subject: Add a password recovery feature. Fix #32 --- budget/templates/forms.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'budget/templates/forms.html') diff --git a/budget/templates/forms.html b/budget/templates/forms.html index 80a0d17..beb714b 100644 --- a/budget/templates/forms.html +++ b/budget/templates/forms.html @@ -21,7 +21,7 @@
{% if home %} - Go back Home + Can't remember the password? {% endif %} {% if cancel %} @@ -32,6 +32,7 @@ {% macro authenticate(form, home=False) %} {% include "display_errors.html" %} + {{ form.hidden_tag() }} {{ input(form.id) }} {{ input(form.password) }} @@ -111,3 +112,12 @@
{% endmacro %} + +{% macro remind_password(form) %} + + {% include "display_errors.html" %} + {{ form.hidden_tag() }} + {{ input(form.id) }} + {{ submit(form.submit) }} + +{% endmacro %} -- cgit v1.1