mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
2833675238
closes #3928 - adds spin-button component & styles - implements spin-button in places where buttons trigger async tasks
25 lines
1.5 KiB
Handlebars
25 lines
1.5 KiB
Handlebars
<div class="gh-flow">
|
|
<div class="gh-flow-content-wrap">
|
|
<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 property="newPassword"}}
|
|
{{input value=newPassword class="gh-input password" type="password" placeholder="Password" name="newpassword" autofocus="autofocus" focusOut=(action "validate" "newPassword")}}
|
|
<div class="pw-strength">
|
|
<div class="pw-strength-dot"></div>
|
|
<div class="pw-strength-dot"></div>
|
|
<div class="pw-strength-dot"></div>
|
|
<div class="pw-strength-dot"></div>
|
|
<div class="pw-strength-dot <!--pw-strength-activedot-->"></div>
|
|
</div>
|
|
{{gh-error-message errors=errors property="newPassword"}}
|
|
{{/gh-form-group}}
|
|
{{#gh-form-group errors=errors property="ne2Password"}}
|
|
{{input value=ne2Password class="gh-input password" type="password" placeholder="Confirm Password" name="ne2password" focusOut=(action "validate" "ne2Password")}}
|
|
{{gh-error-message errors=errors property="ne2Password"}}
|
|
{{/gh-form-group}}
|
|
{{gh-spin-button class="btn btn-blue btn-block" type="submit" submitting=submitting buttonText="Reset Password" autoWidth=false}}
|
|
</form>
|
|
</section>
|
|
</div>
|
|
</div>
|