From 55023698cf39711585480be90c98d64ce5a04b8d Mon Sep 17 00:00:00 2001 From: Federico Capoano Date: Fri, 17 Feb 2023 15:31:06 -0300 Subject: [PATCH] [chores] Improved HTML layout of accounts/login --- openwisp_users/accounts/templates/account/login.html | 4 ++-- tests/testapp/tests/test_admin.py | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/openwisp_users/accounts/templates/account/login.html b/openwisp_users/accounts/templates/account/login.html index 84808ee8..08d4bf96 100644 --- a/openwisp_users/accounts/templates/account/login.html +++ b/openwisp_users/accounts/templates/account/login.html @@ -12,7 +12,7 @@

{% trans "Sign In" %}

{% if redirect_field_value %} {% endif %} - {% trans "Forgot Password?" %} - +

+

{% trans "Forgot Password?" %}

{% endblock %} diff --git a/tests/testapp/tests/test_admin.py b/tests/testapp/tests/test_admin.py index acc533a1..84407ac0 100644 --- a/tests/testapp/tests/test_admin.py +++ b/tests/testapp/tests/test_admin.py @@ -37,4 +37,6 @@ def test_group_reversion(self): def test_accounts_login(self): r = self.client.get(reverse('account_login'), follow=True) self.assertEqual(r.status_code, 200) - self.assertContains(r, '