mirror of
https://github.com/TryGhost/Ghost-Admin.git
synced 2023-12-14 02:33:04 +01:00
d40eb288c1
refs #5652 - always put button text inside opening/closing helper tag - only include type if it is 'submit' as button is default - wrap attributes in double quotes
18 lines
1 KiB
Handlebars
18 lines
1 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"}}
|
|
{{gh-input type="password" name="newpassword" placeholder="Password" class="password" autocorrect="off" autofocus="autofocus" value=newPassword}}
|
|
{{/gh-form-group}}
|
|
{{#gh-form-group errors=errors property="ne2Password"}}
|
|
{{gh-input type="password" name="ne2password" placeholder="Confirm Password" class="password" autocorrect="off" autofocus="autofocus" value=ne2Password}}
|
|
{{/gh-form-group}}
|
|
|
|
{{#gh-spin-button class="btn btn-blue btn-block" type="submit" submitting=submitting autoWidth="false"}}Reset Password{{/gh-spin-button}}
|
|
</form>
|
|
|
|
<p class="main-error">{{{flowErrors}}}</p>
|
|
</section>
|
|
</div>
|
|
</div>
|