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

Version Path
tkh_content-0.10.10 app/views/comments/_list_of_comments.html.erb
tkh_content-0.10.9 app/views/comments/_list_of_comments.html.erb
tkh_content-0.10.8 app/views/comments/_list_of_comments.html.erb
tkh_content-0.10.7 app/views/comments/_list_of_comments.html.erb
tkh_content-0.10.6 app/views/comments/_list_of_comments.html.erb
tkh_content-0.10.5.1 app/views/comments/_list_of_comments.html.erb
tkh_content-0.10.5 app/views/comments/_list_of_comments.html.erb
tkh_content-0.10.4 app/views/comments/_list_of_comments.html.erb
tkh_content-0.10.3 app/views/comments/_list_of_comments.html.erb
tkh_content-0.10.2 app/views/comments/_list_of_comments.html.erb
tkh_content-0.10.1 app/views/comments/_list_of_comments.html.erb
tkh_content-0.10 app/views/comments/_list_of_comments.html.erb
tkh_content-0.9.20 app/views/comments/_list_of_comments.html.erb