<% annotation.comments.roots.sort_by_most_voted. limit(Legislation::Annotation::COMMENTS_PAGE_SIZE).each do |comment| %>

<%= truncate comment.body, length: 250 %>

<% if comment.body.length > 250 %>
<%= link_to legislation_process_draft_version_annotation_path(annotation.draft_version.process, annotation.draft_version, annotation) do %> <%= t("legislation.annotations.comments.see_complete") %> <% end %>
<% end %>
<%= link_to legislation_process_draft_version_annotation_path(annotation.draft_version.process, annotation.draft_version, annotation, anchor: "comment_#{comment.id}") do %> <%= t("legislation.annotations.comments.replies_count", count: comment.children.size) %> <% end %>
<%= render "comments/votes", comment: comment %>
<% end %>