diff options
| author | Leo Mouyna <mouynaleo@gmail.com> | 2019-09-13 22:43:33 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2019-09-16 21:35:28 +0200 |
| commit | fabceefececd0978460ba2446ba43821ceee14a7 (patch) | |
| tree | dd420671f97e9c989fa61cba3dd3aba0eba4d74d /ihatemoney | |
| parent | db9801069115a7a0c237c2c7de15d0f7e144b306 (diff) | |
| download | ihatemoney-mirror-fabceefececd0978460ba2446ba43821ceee14a7.zip ihatemoney-mirror-fabceefececd0978460ba2446ba43821ceee14a7.tar.gz ihatemoney-mirror-fabceefececd0978460ba2446ba43821ceee14a7.tar.bz2 | |
PR remarks
Diffstat (limited to 'ihatemoney')
| -rw-r--r-- | ihatemoney/templates/password_reminder_sent.html (renamed from ihatemoney/templates/display_message.html) | 2 | ||||
| -rw-r--r-- | ihatemoney/web.py | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/ihatemoney/templates/display_message.html b/ihatemoney/templates/password_reminder_sent.html index 37be42a..e424c54 100644 --- a/ihatemoney/templates/display_message.html +++ b/ihatemoney/templates/password_reminder_sent.html @@ -5,4 +5,6 @@ <p> {{message}} </p> +<a class="btn btn-primary" href="{{ url_for('.home')}}">Return to home page</a> + {% endblock %} diff --git a/ihatemoney/web.py b/ihatemoney/web.py index 1e1a72f..52b8ed2 100644 --- a/ihatemoney/web.py +++ b/ihatemoney/web.py @@ -284,8 +284,12 @@ def remind_password(): @main.route("/password-reminder-sent", methods=["GET"]) def password_reminder_sent(): - message = "A link to reset your password has been sent to you, please check your emails" - return render_template("display_message.html", title="Password reminder", message=message) + message = "A link to reset your password has been sent to you, please check your emails." + return render_template( + "password_reminder_sent.html", + title="Password reminder", + message=message + ) @main.route('/reset-password', methods=['GET', 'POST']) |
