comments.jade 389 B

123456789
  1. template(name="commentForm")
  2. .new-comment.js-new-comment(
  3. class="{{#if commentFormIsOpen}}is-open{{/if}}")
  4. +userAvatar(userId=currentUser._id)
  5. form.js-new-comment-form
  6. +editor(class="js-new-comment-input")
  7. | {{getUnsavedValue 'cardComment' currentCard._id}}
  8. .add-controls
  9. button.primary.confirm.clear.js-add-comment(type="submit") {{_ 'comment'}}