Sha256: fbdaccdc70f92540f463e321a8ff95284060ca1d7be7482278ef288944a10a1f
Contents?: true
Size: 1.16 KB
Versions: 4
Compression:
Stored size: 1.16 KB
Contents
<%= content_tag :div, id: node_id, data: { decidim_comments: comments_data } do %> <div id="comments"> <div class="comments"> <div class="comments__header"> <h2 class="h4"> <% if single_comment? %> <%= t("decidim.components.comments.comment_details_title") %> <% else %> <%= icon "chat-1-line", class: "fill-tertiary w-6 h-6 inline-block align-middle" %> <span class="comments-count inline-block align-middle"> <%= t("decidim.components.comments.title", count: comments_count) %> </span> <% end %> </h2> <%= render :order_control %> </div> <%= single_comment_warning %> <%= blocked_comments_warning %> <div class="comment-threads"> <%= comments_loading %> <% comments.each do |comment| %> <%= cell("decidim/comments/comment_thread", comment, order:) %> <% end %> </div> <%= add_comment %> <%= user_comments_blocked_warning %> </div> <%= cell("decidim/announcement", t("decidim.components.comments.loading"), callout_class: "primary loading-comments hidden") %> </div> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems