Sha256: 1c26ba5d554d5edf1e31476409882e033a15e748449eaa13ae4f18313ac77bf7

Contents?: true

Size: 812 Bytes

Versions: 1

Compression:

Stored size: 812 Bytes

Contents

<% if post_commentable? %>
  <div class="posts__post_comments" data-post-id="<%= post.id %>">
    <button class="button button__sm button__transparent-primary absolute newCommentBtn" data-post-id="<%= post.id %>" data-model-type="<%= model_type %>" aria-expanded="false" aria-controls="new_comment_for_<%= model_type %>_<%= post.id %> comments-for-<%= model_type %>-<%= post.id %>-threads"><%= t(".comment") %></button>
    <%#= comments_for post %>
    <%= cell(
      "decidim/posts/comments",
      post,
      machine_translations: machine_translations_toggled?,
      single_comment: params.fetch("commentId", nil),
      order: options[:order],
      polymorphic: options[:polymorphic]
    ).to_s %>
  </div>
<% end %>
<style>
  .comment__opinion-label, .comment__opinion-container{display:none;}
</style>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
decidim-posts-1.0.0 app/cells/decidim/posts/post_comment/show.erb