% provide :page_title, @presenter.page_title %>
<% provide :page_header do %>
<%= @presenter %>
<%= @presenter.workflow.state_label %>
<% if @parent_presenter %>
- <%= link_to @parent_presenter, polymorphic_path([main_app, @parent_presenter]) %>
- <%= @presenter.human_readable_type %>
<% else %>
(<%= @presenter.human_readable_type %>)
<% end %>
<% end %>
<% collector = can?(:collect, @presenter.id) %>
<% editor = can?(:edit, @presenter.id) %>
<%= render 'representative_media', presenter: @presenter %>
<%= render "attributes", presenter: @presenter %>
<%= render 'related_files', presenter: @presenter %>
<% if editor %>
<%= render 'multiple_upload', presenter: @presenter %>
<% end %>
<%= render 'workflow_actions', presenter: @presenter if @presenter.workflow.actions.present? %>
<%= render "show_actions", collector: collector, editor: editor%>