Sha256: 6a1b77187158994640ae020c5ea298d4c0bbaf2e82b49f292ee728ca2a0e5371
Contents?: true
Size: 1.21 KB
Versions: 9
Compression:
Stored size: 1.21 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" id="<%= threads_node_id %>" aria-live="polite"> <%= 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
9 entries across 9 versions & 1 rubygems