()
| 22 | } |
| 23 | |
| 24 | static initClass () { |
| 25 | this.prototype.id = 'cla-view' |
| 26 | this.prototype.template = template |
| 27 | |
| 28 | this.prototype.events = |
| 29 | { 'click #agreement-button': 'onAgree' } |
| 30 | } |
| 31 | |
| 32 | onAgree () { |
| 33 | this.$el.find('#agreement-button').prop('disabled', true).text('Saving') |