mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 07:20:12 +01:00
This new draft saving system is currently only implemented for the card description and comment. We need better a component inheritance/composition model to support this for all editable fields. Fixes #186
9 lines
389 B
Text
9 lines
389 B
Text
template(name="commentForm")
|
|
.new-comment.js-new-comment(
|
|
class="{{#if commentFormIsOpen}}is-open{{/if}}")
|
|
+userAvatar(userId=currentUser._id)
|
|
form.js-new-comment-form
|
|
+editor(class="js-new-comment-input")
|
|
| {{getUnsavedValue 'cardComment' currentCard._id}}
|
|
.add-controls
|
|
button.primary.confirm.clear.js-add-comment(type="submit") {{_ 'comment'}}
|