.posts.contents .post.show p.title= link_to post.title, [post.subcreddit, post] p.details= "submitted #{distance_of_time_in_words post.created_at, Time.now} ago by #{post.user_username}" p.content= post.content ul.links.list-inline li= link_to "#{post.comments_count} comments", subcreddit_post_path(post.subcreddit, post) li= link_to 'share', '' li= link_to 'edit', edit_subcreddit_post_path(post.subcreddit, post) li= link_to 'save', '' li= link_to 'hide', '' li= link_to 'remove', '' li= link_to 'approve', '' li= link_to 'nsfw', ''