1 2 3 4 5 6 7 8 9 10
<h2 style="margin-top: 0;">Comments</h2> <ul> <% @cve.comments.each do |comment| %> <li> <%= simple_format_without_paragraph(comment.comment) %><br /> <em>—<%= comment.user.login %></em> @ <%= comment.created_at.rfc2822 %> </li> <% end %> </ul>