It was removed in commit 128a8164 because we hadn't reviewed it nor
tested it properly. We're now adding it again, fixing the issues we've
found while reviewing.
11 lines
364 B
Plaintext
11 lines
364 B
Plaintext
<% if comments.any? %>
|
|
<span><%= t("legislation.summary.most_voted_comments") %></span>
|
|
|
|
<% comments.each do |comment| %>
|
|
<div class="comment-summary">
|
|
<%= link_to simple_format(sanitize(comment.body, tags: [])), comment_path(comment) %>
|
|
<p><%= t("legislation.summary.votes", count: comment.votes_score) %></p>
|
|
</div>
|
|
<% end %>
|
|
<% end %>
|