| 20 | module.exports = (EditStudentModal = (function () { |
| 21 | EditStudentModal = class EditStudentModal extends ModalView { |
| 22 | static initClass () { |
| 23 | this.prototype.id = 'edit-student-modal' |
| 24 | this.prototype.template = template |
| 25 | |
| 26 | this.prototype.events = { |
| 27 | 'click .send-recovery-email-btn:not(.disabled)': 'onClickSendRecoveryEmail', |
| 28 | 'click .change-password-btn:not(.disabled)': 'onClickChangePassword', |
| 29 | 'click .revoke-student-btn': 'onClickRevokeStudentButton', |
| 30 | 'click .enroll-student-btn:not(.disabled)': 'onClickEnrollStudentButton', |
| 31 | 'input .new-password-input': 'onChangeNewPasswordInput' |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | constructor ({ user, classroom, students }) { |
| 36 | super(...arguments) |