comments.jade 329 B

12345678
  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. .add-controls
  8. button.primary.confirm.clear.js-add-comment(type="submit") {{_ 'comment'}}