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