mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
ff69766442
closes TryGhost/Ghost#9506
41 lines
1.9 KiB
Handlebars
41 lines
1.9 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 hasValidated=hasValidated property="newPassword"}}
|
|
<span class="gh-input-icon gh-icon-lock">
|
|
{{svg-jar "lock"}}
|
|
{{gh-text-input
|
|
type="password"
|
|
name="newpassword"
|
|
placeholder="Password"
|
|
class="password"
|
|
autocorrect="off"
|
|
autofocus="autofocus"
|
|
value=(readonly newPassword)
|
|
input=(action (mut newPassword) value="target.value")}}
|
|
</span>
|
|
{{/gh-form-group}}
|
|
{{#gh-form-group errors=errors hasValidated=hasValidated property="ne2Password"}}
|
|
<span class="gh-input-icon gh-icon-lock">
|
|
{{svg-jar "lock"}}
|
|
{{gh-text-input
|
|
type="password"
|
|
name="ne2password"
|
|
placeholder="Confirm Password"
|
|
class="password"
|
|
autocorrect="off"
|
|
autofocus="autofocus"
|
|
value=(readonly ne2Password)
|
|
input=(action (mut ne2Password) value="target.value")}}
|
|
</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"}}
|
|
</form>
|
|
|
|
<p class="main-error">{{flowErrors}} </p>
|
|
</section>
|
|
</div>
|
|
</div>
|