ui: Improve the placement of the "Forgot password" action.

Previously, the "Forgot password" action was bit difficult to
locate due to its position. This commit adjusts its placement
to enhance discoverability and improve the user experience.
This commit is contained in:
kumbhar-sarthak
2025-05-07 09:26:58 +00:00
committed by Tim Abbott
parent be5a6e88e1
commit 13eb79493b
2 changed files with 23 additions and 4 deletions

View File

@@ -110,6 +110,13 @@ page can be easily identified in it's respective JavaScript file. -->
<label for="id_password">{{ _('Password') }}</label>
<i class="fa fa-eye-slash password_visibility_toggle" role="button" tabindex="0"></i>
</div>
<div class="actions forgot-password-container">
{% if email_auth_enabled %}
<a class="forgot-password" href="/accounts/password/reset/">{{ _('Forgot your password?') }}</a>
{% endif %}
</div>
{% else %}
{% include "two_factor/_wizard_forms.html" %}
{% endif %}
@@ -145,10 +152,8 @@ page can be easily identified in it's respective JavaScript file. -->
</div>
{% endfor %}
<div class="actions">
{% if email_auth_enabled %}
<a class="forgot-password" href="/accounts/password/reset/">{{ _('Forgot your password?') }}</a>
{% endif %}
<div class="actions signup-link-wrapper">
{{ _("Don't have an account?")}}
{% if not register_link_disabled %}
<a class="register-link float-right" href="/register/">{{ _('Sign up') }}</a>
{% endif %}