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:
Sam 2013-07-15 03:18:23 -07:00
commit 0fee644434
1 changed files with 7 additions and 7 deletions

View File

@ -1,9 +1,9 @@
<div class="modal-body"> <form>
<form> <div class="modal-body">
<label for='username-or-email'>{{i18n forgot_password.invite}}</label> <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"}} {{textField value=accountEmailOrUsername placeholderKey="login.email_placeholder" id="username-or-email" autocorrect="off" autocapitalize="off"}}
</form> </div>
</div> <div class="modal-footer">
<div class="modal-footer"> <button class='btn btn-large btn-primary' {{bindAttr disabled="submitDisabled"}} {{action submit}}>{{i18n forgot_password.reset}}</button>
<button class='btn btn-large btn-primary' {{bindAttr disabled="submitDisabled"}} {{action submit}}>{{i18n forgot_password.reset}}</button> </div>
</div> </form>