= post.user.forum_display_name - if post.reply_to_id replied to = MongoidForums::Post.find(post.reply_to_id).user.forum_display_name - else created = time_ago_in_words(post.created_at) ago = link_to 'Quote', new_topic_post_path(post.topic_id, :reply_to_id => post.id) - if mongoid_forums_user && post.owner_or_admin?(mongoid_forums_user) - if can?(:edit_post, post.topic.forum) = link_to "Edit", edit_topic_post_path(post.topic_id, post) - if can?(:destroy_post, post.topic.forum) = button_to "Delete", topic_post_path(post.topic_id, post), :method => :delete %br - if post.reply_to_id = render :partial => 'mongoid_forums/posts/quoted', :locals => {:post => post} %br = mongoid_forums_format(post.text) %br %hr