diff --git a/app/templates/teachers/convert-to-teacher-account-view.jade b/app/templates/teachers/convert-to-teacher-account-view.jade index bafdf37f2..215a0f5ef 100644 --- a/app/templates/teachers/convert-to-teacher-account-view.jade +++ b/app/templates/teachers/convert-to-teacher-account-view.jade @@ -34,7 +34,7 @@ block content .col-md-4.col-sm-6 #email-form-group.form-group label.control-label(data-i18n="general.email") - input.form-control(disabled=true value=me.get('email')) + input.form-control(name='email' disabled=true value=me.get('email')) .row.m-y-2 .col-md-offset-2.col-md-4.col-sm-6 diff --git a/test/app/views/teachers/ConvertToTeacherAccountView.spec.coffee b/test/app/views/teachers/ConvertToTeacherAccountView.spec.coffee index 166dab1a7..45797cd18 100644 --- a/test/app/views/teachers/ConvertToTeacherAccountView.spec.coffee +++ b/test/app/views/teachers/ConvertToTeacherAccountView.spec.coffee @@ -136,6 +136,7 @@ describe 'ConvertToTeacherAccountView (/teachers/update-account)', -> attrs = JSON.parse(request.params) expect(attrs.properties?.firstName).toBe('Mr') expect(attrs.properties?.siteOrigin).toBe('convert teacher') + expect(attrs.properties?.email).toBe('some@email.com') it 'redirects to /teachers/classes', -> request = jasmine.Ajax.requests.mostRecent()