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

View file

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