Sha256: d49db91761f3da6dc52f718f1238b3920ccfb1548bcb34fd548b7d5c485a8a0a
Contents?: true
Size: 620 Bytes
Versions: 22
Compression:
Stored size: 620 Bytes
Contents
<% @page.comments.showable.for_locale(I18n.locale.to_s).by_created.each_with_index do |comment, index| %> <div id="comment-<%= comment.id %>" class="individual-comment<%= " by-page-author" if comment.author_id == comment.page.author_id %>"> <p> <span class="comment-index"><%= index + 1 %></span> <span class="comment-author-name"><%= comment.author.name %></span> <span class="comment-created-date"><%= l comment.created_at, format: :tkh_default %></span> <span class="comment-body"><%= sanitize comment.body.gsub(/\r\n?/, "<br>"), :tags => %w(br), :attributes => %w() %></span> </p> </div> <% end %>
Version data entries
22 entries across 22 versions & 1 rubygems