Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <% count = 0 %>
- <% for comment in @post.comments %>
- <% count = count + 1 %>
- <b>From:</b> <%= comment.name %><br />
- <%= RedCloth.new(comment.body).to_html %>
- <% if @post.comments.size > 1 and count - 1 != @post.comments.size %>
- <hr noshade="noshade" /><br />
- <% end %>
- <% end %>
Add Comment
Please, Sign In to add comment