%= render partial: '/pulitzer/posts/breadcrumbs', locals: {post_type: post.post_type} %>
<% if post.plural? %>
<%= ajax_link "#{post.post_type.name.singularize} Posts >", pulitzer.posts_path(post_type_version_id: post.post_type_version_id), {}, '[data-tab-id="templates"]' %>
<% end %>
<% if post.preview_version.present? %>
<%= ajax_link_now '', pulitzer.edit_version_path(post.next_version), {}, dom_target(post, :preview_version) %>
<% elsif post.processing_version.present? %>
Processing Preview for <%= post.processing_version.title %>
<%= ajax_link_attrs(dom_target(post, :preview_version)) %> >
If the preview does not appear within a few minutes, click here to see if it's available.
<%= ajax_link "refresh preview", pulitzer.edit_version_path(post.processing_version), {}, dom_target(post, :preview_version) %>
<% end %>