summaryrefslogtreecommitdiffstats
path: root/client/components/activities/comments.jade
blob: 405778de0d13228d20babcc90d10fdf59ac67fab (plain)
1
2
3
4
5
6
7
8
9
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'}}