From 11808cbf88f6d58ebe0e639a99d1d598b366d7d3 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Mon, 24 Feb 2020 11:57:48 +0000 Subject: [PATCH 1/4] Change 'forgot' to 'forgotten' --- app/templates/views/signin.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/views/signin.html b/app/templates/views/signin.html index c51349b9a..e23f71cd2 100644 --- a/app/templates/views/signin.html +++ b/app/templates/views/signin.html @@ -34,7 +34,7 @@ {% call form_wrapper(autocomplete=True) %} {{ textbox(form.email_address, autocomplete='email') }} {{ textbox(form.password, autocomplete='current-password') }} - {{ page_footer("Continue", secondary_link=url_for('.forgot_password'), secondary_link_text="Forgot your password?") }} + {{ page_footer("Continue", secondary_link=url_for('.forgot_password'), secondary_link_text="Forgotten your password?") }} {% endcall %} From a51cc5d4b5ac729ca7dba1ad3b0337c2c5f6a08b Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Mon, 24 Feb 2020 11:59:07 +0000 Subject: [PATCH 2/4] Change 'forgot' to 'forgotten' --- app/main/views/sign_in.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/views/sign_in.py b/app/main/views/sign_in.py index 49ea321f3..567bb3f5a 100644 --- a/app/main/views/sign_in.py +++ b/app/main/views/sign_in.py @@ -50,7 +50,7 @@ def sign_in(): flash(Markup( ( "The email address or password you entered is incorrect." - " Forgot your password?" + " Forgotten your password?" ).format(password_reset=url_for('.forgot_password')) )) From a33892bdeda2edb20dc12d9612e1d5dd16952017 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Mon, 24 Feb 2020 11:59:43 +0000 Subject: [PATCH 3/4] Change 'forgot' to 'forgotten' --- app/templates/views/forgot-password.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/views/forgot-password.html b/app/templates/views/forgot-password.html index d6b34476a..27c1902a7 100644 --- a/app/templates/views/forgot-password.html +++ b/app/templates/views/forgot-password.html @@ -11,7 +11,7 @@ Create a new password
-

Forgot your password?

+

Forgotten your password?

We’ll send you an email to create a new password.

From 6c4013d207afe318ad27733fc6a213ac0d4237d8 Mon Sep 17 00:00:00 2001 From: karlchillmaid Date: Mon, 24 Feb 2020 12:00:26 +0000 Subject: [PATCH 4/4] Change 'forgot' to 'forgotten' --- tests/app/main/views/test_sign_in.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/app/main/views/test_sign_in.py b/tests/app/main/views/test_sign_in.py index a244df470..6b6537e7e 100644 --- a/tests/app/main/views/test_sign_in.py +++ b/tests/app/main/views/test_sign_in.py @@ -22,7 +22,7 @@ def test_render_sign_in_template_for_new_user( assert page.select_one('#password')['autocomplete'] == 'current-password' assert page.select('main a')[0].text == 'create one now' assert page.select('main a')[0]['href'] == url_for('main.register') - assert page.select('main a')[1].text == 'Forgot your password?' + assert page.select('main a')[1].text == 'Forgotten your password?' assert page.select('main a')[1]['href'] == url_for('main.forgot_password') assert 'Sign in again' not in normalize_spaces(page.text)