Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
🎨 fix missing lock icons on password reset form (#782)
Browse files Browse the repository at this point in the history
closes TryGhost/Ghost#8688
- match input fields HTML to other icon inputs
  • Loading branch information
kevinansfield authored and aileen committed Jul 20, 2017
1 parent 5e85cbe commit 7bc4c5a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions app/templates/reset.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -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"}}
Expand Down

0 comments on commit 7bc4c5a

Please sign in to comment.