1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Ghost-Admin/app/templates/reset.hbs

19 lines
1.1 KiB
Handlebars
Raw Normal View History

<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"}}
{{gh-input newPassword type="password" name="newpassword" placeholder="Password" class="password" autocorrect="off" autofocus="autofocus" update=(action (mut newPassword))}}
{{/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))}}
{{/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>