Files
habitica/website/views/shared/tasks/edit/text_notes.jade
T
Travis bbf15e1756 fixes task edit cancellation commit (#7931)
* fixes the commit that shows actual task values when task edit is canceled.

This reverts commit 3d64f2b849.

* removing _edit references from fields of a task that can't change and are always set

* removing _edit from task.type as type cannot change while editing.

* Addressing comments by blade
2016-09-12 21:23:23 -05:00

8 lines
286 B
Plaintext

fieldset.option-group
label.option-title=env.t('text')
input.form-control(type='text', ng-model='task._edit.text', ng-disabled='!canEdit(task)', required)
fieldset.option-group
label.option-title=env.t('extraNotes')
textarea.form-control(rows='3', ng-model='task._edit.notes')