10 lines
389 B
Plaintext
10 lines
389 B
Plaintext
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'}}
|