<% if logged_in? and comment.authorized?(User.find(session[:user_id])) %> <%= link_to_remote "(delete)", :url => comment_url(comment.post.blog, comment.post, comment), :method => :delete, :confirm => 'Are you sure?' %> <% end %> <%= link_to thumbnail_tag(comment.user), profile_for(comment.user) %> <%= link_to comment.user.name, profile_for(comment.user) %> commented <%= time_ago_in_words comment.created_at %> ago:

<%= sanitize comment.body %>