mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-30 19:06:59 -05:00
Remove colons from template, unused formValues from view
This commit is contained in:
parent
f8cf3212dc
commit
f7f405b774
2 changed files with 2 additions and 7 deletions
|
@ -12,13 +12,11 @@ block modal-body-content
|
||||||
.form-group
|
.form-group
|
||||||
label.control-label(for="email")
|
label.control-label(for="email")
|
||||||
span(data-i18n="general.email")
|
span(data-i18n="general.email")
|
||||||
| :
|
input#email.input-large.form-control(name="email", type="email")
|
||||||
input#email.input-large.form-control(name="email", type="email", value=view.formValues.email)
|
|
||||||
.form-group
|
.form-group
|
||||||
label.control-label(for="password")
|
label.control-label(for="password")
|
||||||
span(data-i18n="general.password") Password
|
span(data-i18n="general.password") Password
|
||||||
| :
|
input#password.input-large.form-control(name="password", type="password")
|
||||||
input#password.input-large.form-control(name="password", type="password", value=view.formValues.password)
|
|
||||||
|
|
||||||
#errors-alert.alert.alert-danger.hide
|
#errors-alert.alert.alert-danger.hide
|
||||||
|
|
||||||
|
|
|
@ -8,9 +8,6 @@ module.exports = class StudentSignInModal extends ModalView
|
||||||
id: 'student-log-in-modal'
|
id: 'student-log-in-modal'
|
||||||
template: template
|
template: template
|
||||||
|
|
||||||
initialize: ->
|
|
||||||
@formValues = {}
|
|
||||||
|
|
||||||
events:
|
events:
|
||||||
'click #log-in-btn': 'onClickLogInButton'
|
'click #log-in-btn': 'onClickLogInButton'
|
||||||
'submit form': 'onSubmitForm'
|
'submit form': 'onSubmitForm'
|
||||||
|
|
Loading…
Reference in a new issue