Fix bug: pressing enter on the "forgot password" modal does not submit the form

This commit is contained in:
Claus Strasburger 2013-07-13 22:24:09 +02:00
parent 2aa487d2c8
commit b5593daae1
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>
{{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>
</div>
<div class="modal-footer">
<button class='btn btn-large btn-primary' {{bindAttr disabled="submitDisabled"}} {{action submit}}>{{i18n forgot_password.reset}}</button>
</div>
</form>