Sha256: 835830f7785f514c01e31e690697d47edcc51836c6a42eb9459dab0e3c1b9d67

Contents?: true

Size: 393 Bytes

Versions: 3

Compression:

Stored size: 393 Bytes

Contents

%table.table.table-bordered.table-striped
	%thead
		%tr
			%th #
			%th Post
			%th Author Name
			%th Author Email
			%th Content
	%tbody
		- @comments.each do |comment|
			= content_tag_for(:tr, comment) do
				%td= link_to comment.id, comment
				%td= link_to comment.post.title, comment.post
				%td= comment.author_name
				%td= comment.author_email
				%td= comment.content.truncate(150)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blogr-0.0.8 app/views/blogr/comments/index.html.haml
blogr-0.0.7 app/views/blogr/comments/index.html.haml
blogr-0.0.6 app/views/blogr/comments/index.html.haml