File tree Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -1140,7 +1140,7 @@ msgid "Sponsors"
1140
1140
msgstr ""
1141
1141
1142
1142
#: warehouse/templates/accounts/login.html:7
1143
- #: warehouse/templates/accounts/login.html:80 warehouse/templates/base.html:44
1143
+ #: warehouse/templates/accounts/login.html:87 warehouse/templates/base.html:44
1144
1144
#: warehouse/templates/base.html:78
1145
1145
msgid "Log in"
1146
1146
msgstr ""
@@ -1603,18 +1603,18 @@ msgstr ""
1603
1603
msgid "(required)"
1604
1604
msgstr ""
1605
1605
1606
- #: warehouse/templates/accounts/login.html:62
1606
+ #: warehouse/templates/accounts/login.html:69
1607
1607
#: warehouse/templates/re-auth.html:55
1608
1608
msgid "Your password"
1609
1609
msgstr ""
1610
1610
1611
- #: warehouse/templates/accounts/login.html:88
1611
+ #: warehouse/templates/accounts/login.html:66
1612
1612
#: warehouse/templates/manage/manage_base.html:457
1613
1613
#: warehouse/templates/re-auth.html:82
1614
1614
msgid "Show password"
1615
1615
msgstr ""
1616
1616
1617
- #: warehouse/templates/accounts/login.html:92
1617
+ #: warehouse/templates/accounts/login.html:91
1618
1618
#: warehouse/templates/re-auth.html:86
1619
1619
msgid "Forgot password?"
1620
1620
msgstr ""
Original file line number Diff line number Diff line change @@ -51,13 +51,20 @@ <h1 class="page-title">{% trans title=title %}Log in to {{ title }}{% endtrans %
51
51
</ div >
52
52
</ div >
53
53
< div data-controller ="password " class ="form-group ">
54
- < div >
54
+ < div class =" split-layout " >
55
55
< label for ="password " class ="form-group__label ">
56
56
{% trans %}Password{% endtrans %}
57
57
{% if form.password.flags.required %}
58
58
< span class ="form-group__required "> {% trans %}(required){% endtrans %}</ span >
59
59
{% endif %}
60
60
</ label >
61
+ < label for ="show-password ">
62
+ < input data-action ="change->password#togglePasswords "
63
+ data-password-target ="showPassword "
64
+ id ="show-password "
65
+ type ="checkbox ">
66
+ {% trans %}Show password{% endtrans %}
67
+ </ label >
61
68
</ div >
62
69
{{ form.password(placeholder=gettext("Your password") ,
63
70
required="required",
@@ -80,17 +87,10 @@ <h1 class="page-title">{% trans title=title %}Log in to {{ title }}{% endtrans %
80
87
value ="{% trans %}Log in{% endtrans %} "
81
88
class ="button button--primary ">
82
89
</ div >
83
- < label for ="show-password ">
84
- < input data-action ="change->password#togglePasswords "
85
- data-password-target ="showPassword "
86
- id ="show-password "
87
- type ="checkbox ">
88
- {% trans %}Show password{% endtrans %}
89
- </ label >
90
+ < span >
91
+ < a href ="{{ request.route_url('accounts.request-password-reset') }} "> {% trans %}Forgot password?{% endtrans %}</ a >
92
+ </ span >
90
93
</ div >
91
- < span >
92
- < a href ="{{ request.route_url('accounts.request-password-reset') }} "> {% trans %}Forgot password?{% endtrans %}</ a >
93
- </ span >
94
94
</ div >
95
95
</ div >
96
96
</ form >
You can’t perform that action at this time.
0 commit comments