mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -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
|
||||
label.control-label(for="email")
|
||||
span(data-i18n="general.email")
|
||||
| :
|
||||
input#email.input-large.form-control(name="email", type="email", value=view.formValues.email)
|
||||
input#email.input-large.form-control(name="email", type="email")
|
||||
.form-group
|
||||
label.control-label(for="password")
|
||||
span(data-i18n="general.password") Password
|
||||
| :
|
||||
input#password.input-large.form-control(name="password", type="password", value=view.formValues.password)
|
||||
input#password.input-large.form-control(name="password", type="password")
|
||||
|
||||
#errors-alert.alert.alert-danger.hide
|
||||
|
||||
|
|
|
@ -8,9 +8,6 @@ module.exports = class StudentSignInModal extends ModalView
|
|||
id: 'student-log-in-modal'
|
||||
template: template
|
||||
|
||||
initialize: ->
|
||||
@formValues = {}
|
||||
|
||||
events:
|
||||
'click #log-in-btn': 'onClickLogInButton'
|
||||
'submit form': 'onSubmitForm'
|
||||
|
|
Loading…
Reference in a new issue