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

Version Path
tkh_content-0.9.15 app/views/comments/_list_of_comments.html.erb
tkh_content-0.9.14 app/views/comments/_list_of_comments.html.erb
tkh_content-0.9.13 app/views/comments/_list_of_comments.html.erb
tkh_content-0.9.12 app/views/comments/_list_of_comments.html.erb
tkh_content-0.9.11 app/views/comments/_list_of_comments.html.erb
tkh_content-0.9.10 app/views/comments/_list_of_comments.html.erb
tkh_content-0.9.9 app/views/comments/_list_of_comments.html.erb
tkh_content-0.9.8 app/views/comments/_list_of_comments.html.erb
tkh_content-0.9.7 app/views/comments/_list_of_comments.html.erb
tkh_content-0.9.6 app/views/comments/_list_of_comments.html.erb
tkh_content-0.9.5 app/views/comments/_list_of_comments.html.erb
tkh_content-0.9.4 app/views/comments/_list_of_comments.html.erb
tkh_content-0.9.3 app/views/comments/_list_of_comments.html.erb
tkh_content-0.9.2 app/views/comments/_list_of_comments.html.erb
tkh_content-0.4.7 app/views/comments/_list_of_comments.html.erb
tkh_content-0.9.1 app/views/comments/_list_of_comments.html.erb
tkh_content-0.9 app/views/comments/_list_of_comments.html.erb
tkh_content-0.4.6 app/views/comments/_list_of_comments.html.erb
tkh_content-0.4.5 app/views/comments/_list_of_comments.html.erb
tkh_content-0.4.4 app/views/comments/_list_of_comments.html.erb