<%= content_tag :div, id: node_id, data: { decidim_comments: comments_data } do %>

<% if single_comment? %> <%= t("decidim.components.comments.comment_details_title") %> <% else %> <%= t("decidim.components.comments.title", count: comments_count) %> <% end %>

<%= render :order_control %>
<%= single_comment_warning %> <%= blocked_comments_warning %>
<%= comments_loading %> <% comments.each do |comment| %> <%= cell("decidim/comments/comment_thread", comment, order: order) %> <% end %>
<%= add_comment %> <%= user_comments_blocked_warning %>

<%= t("decidim.components.comments.loading") %>

<% end %>