module CommentsHelper def comment_tag(comment, &) tag.div id: dom_id(comment), class: "comment flex-inline align-start full-width", data: { creator_id: comment.creator_id, created_by_current_user_target: "creation" }, & end def new_comment_placeholder(bubble) if bubble.creator == Current.user && bubble.messages.comments.empty? "Add some notes…" else "Type your comment…" end end end