<%= link_to post.title, post_path(post.id) %>

<%= authorized_links admin_link_separator, [:edit_post, 'Edit', edit_post_path(post.id)], [:destroy_post, 'Destroy', post.id, {:confirm => 'Are you sure?', :method => :delete}] %>
<%= yield :subcaption %> <% if preview %> <%= post.content_as_html_preview %> <% else %> <%= post.content_as_html %> <% end %>