<% if thresholded? %>
<%= link_to "[hidden]", "javascript:void(0)", class: "unhide-comment-link" %>
<% end %>
<%= tag.div class: "body prose", style: ("display: none;" if thresholded?) do %>
<% if redact_deleted? %>
[deleted]
<% else %> <%= format_text(comment.body, data: dtext_data) %> <% end %> <%= render "application/update_notice", record: comment %> <% end %> <% if policy(comment).update? %> <%= render "comments/form", comment: comment, hidden: true %> <% end %>