Remove colons from template, unused formValues from view

This commit is contained in:
Scott Erickson 2015-11-20 14:52:13 -08:00
parent f8cf3212dc
commit f7f405b774
2 changed files with 2 additions and 7 deletions

View file

@ -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

View file

@ -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'