diff --git a/app/templates/courses/student-log-in-modal.jade b/app/templates/courses/student-log-in-modal.jade index 7e1cab665..307e71f47 100644 --- a/app/templates/courses/student-log-in-modal.jade +++ b/app/templates/courses/student-log-in-modal.jade @@ -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 diff --git a/app/views/courses/StudentLogInModal.coffee b/app/views/courses/StudentLogInModal.coffee index c52dba6e6..6bc50e041 100644 --- a/app/views/courses/StudentLogInModal.coffee +++ b/app/views/courses/StudentLogInModal.coffee @@ -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'