Sha256: d7d6e2091c3c74647d9a4e0e361e1d6197296d0c05bdbafd78e306cda31c34b8
Contents?: true
Size: 720 Bytes
Versions: 13
Compression:
Stored size: 720 Bytes
Contents
<% host.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.commentable.try(:author_id) %>"> <p> <span class="comment-index"><%= index + 1 %></span> <span class="comment-author-name"><%= comment.author.present? ? link_to(comment.author.spiritual_name, member_path(comment.author)) : 'anonymous' %></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
13 entries across 13 versions & 1 rubygems