<% if comment && comment.user %> <% if comment.depth < 3 %>
" open> <%= crayons_icon_tag(:collapse, class: "expanded", title: t("views.comments.collapse")) %> <%= crayons_icon_tag(:expand, class: "collapsed", title: t("views.comments.expand")) %> <% end %>
<%= comment_class(comment, is_view_root: is_view_root) %> comment--deep-<%= comment.depth %> <%= "comment--too-deep" if comment.depth > 3 %> " data-comment-id="<%= comment.id %>" data-path="<%= commentable&.path %>/comments/<%= comment.id_code_generated %>" data-comment-author-id="<%= comment_user_id_unless_deleted comment %>" data-content-user-id="<%= comment_user_id_unless_deleted comment %>">   <%= render("comments/comment_proper", comment: comment, commentable: commentable, is_view_root: is_view_root, is_childless: is_childless, subtree_html: subtree_html) %>
<% if comment.depth < 3 %>
<% end %> <% end %>