Merge pull request #1191 from cfstras/patches
Fix bug: pressing enter on the "forgot password" modal does not submit the form
This commit is contained in:
commit
0fee644434
|
@ -1,9 +1,9 @@
|
|||
<div class="modal-body">
|
||||
<form>
|
||||
<div class="modal-body">
|
||||
<label for='username-or-email'>{{i18n forgot_password.invite}}</label>
|
||||
{{textField value=accountEmailOrUsername placeholderKey="login.email_placeholder" id="username-or-email" autocorrect="off" autocapitalize="off"}}
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class='btn btn-large btn-primary' {{bindAttr disabled="submitDisabled"}} {{action submit}}>{{i18n forgot_password.reset}}</button>
|
||||
</div>
|
||||
</form>
|
||||
|
|
Loading…
Reference in New Issue