Sha256: 857e22847d4baa9c3b30970fdbf94affec51423b8d3c0c78fe7b415ae187bf42

Contents?: true

Size: 632 Bytes

Versions: 4

Compression:

Stored size: 632 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.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

4 entries across 4 versions & 1 rubygems

Version Path
tkh_content-0.9.19 app/views/comments/_list_of_comments.html.erb
tkh_content-0.9.18 app/views/comments/_list_of_comments.html.erb
tkh_content-0.9.17 app/views/comments/_list_of_comments.html.erb
tkh_content-0.9.16 app/views/comments/_list_of_comments.html.erb