0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

🎨 fix missing lock icons on password reset form (#782)

closes https://github.com/TryGhost/Ghost/issues/8688
- match input fields HTML to other icon inputs
This commit is contained in:
Kevin Ansfield 2017-07-20 12:06:02 +01:00 committed by Aileen Nowak
parent 671d71cae7
commit 9237e06493

View file

@ -3,10 +3,16 @@
<section class="gh-flow-content fade-in">
<form id="reset" class="gh-signin" method="post" novalidate="novalidate" {{action "submit" on="submit"}}>
{{#gh-form-group errors=errors hasValidated=hasValidated property="newPassword"}}
{{gh-input newPassword type="password" name="newpassword" placeholder="Password" class="password" autocorrect="off" autofocus="autofocus" update=(action (mut newPassword))}}
<span class="gh-input-icon gh-icon-lock">
{{inline-svg "lock"}}
{{gh-input newPassword type="password" name="newpassword" placeholder="Password" class="password" autocorrect="off" autofocus="autofocus" update=(action (mut newPassword))}}
</span>
{{/gh-form-group}}
{{#gh-form-group errors=errors hasValidated=hasValidated property="ne2Password"}}
{{gh-input ne2Password type="password" name="ne2password" placeholder="Confirm Password" class="password" autocorrect="off" autofocus="autofocus" update=(action (mut ne2Password))}}
<span class="gh-input-icon gh-icon-lock">
{{inline-svg "lock"}}
{{gh-input ne2Password type="password" name="ne2password" placeholder="Confirm Password" class="password" autocorrect="off" autofocus="autofocus" update=(action (mut ne2Password))}}
</span>
{{/gh-form-group}}
{{gh-task-button "Reset Password" task=resetPassword class="gh-btn gh-btn-blue gh-btn-block gh-btn-icon" type="submit" autoWidth="false"}}