Try this...
%h2.comment_count= pluralize(@post.comments.count, "Comment")
> - @comments.each do |comment|
.comment
> %p.username= comment.user.name
> %p.username= comment.content
>
> = render 'comments/form'
.comment seems to be a class selector move it to the correct place as well as your %p tags
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f3ec212a-fd47-4cd5-97b8-92eb97712994%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.