<% if comment.hidden? %> <%= t("debates.comment.deleted") %> <% else %> <%= avatar_image(comment.user, size: 32, class: 'left') %>
<%= comment.user.name %> • <%= time_ago_in_words(comment.created_at) %>

<%= comment.body %>

<%= render 'comments/votes', comment: comment %>

<%= t("debates.comment.responses", count: comment.children_count) %> <% if user_signed_in? %>  |  <%= link_to(comment_link_text(comment), "", class: "js-add-comment-link", data: {'id': dom_id(comment)}) %> <% if moderator? %> <%= render 'comments/actions', comment: comment %> <% end %> <%= render 'comments/form', {parent: comment, toggeable: true} %> <% end %>

<% end %>
<%= render comment.children.with_deleted.reorder('id DESC, lft') %>