Sha256: 7752847a3cd93da17dbda938f2aed1f86ff937b6dddaf57bb9cd2f566d915cac

Contents?: true

Size: 1.36 KB

Versions: 8

Compression:

Stored size: 1.36 KB

Contents

<% content_for :page_title, curation_concern_page_title(curation_concern) %>
<% content_for :page_header do %>
  <h1><%= curation_concern %> <span class="human_readable_type">(<%= curation_concern.human_readable_type %>)</span></h1>
<% end %>
<%= render partial: 'thumbnail', locals: {generic_file: curation_concern.representative_generic_file_object, dom_class_name: 'representative_image'} %>
<%= render 'attributes', curation_concern: curation_concern %>
<%= render 'doi', curation_concern: curation_concern %>

<%= render 'related_files', curation_concern: curation_concern, with_actions: true %>
<%= render 'related_resources', curation_concern: curation_concern, with_actions: true %>
<%= render 'related_works', curation_concern: curation_concern, with_actions: true %>
<%= render 'collections', curation_concern: curation_concern %>

<% content_for :second_row do %>
  <% if can?(:edit, curation_concern) %>
    <div class="form-actions">
      <%= link_to "Edit This #{curation_concern.human_readable_type}", edit_polymorphic_path([:curation_concern, curation_concern]), class: 'btn btn-primary' %>
      <%= link_to "Attach a File", new_curation_concern_generic_file_path(curation_concern), class: 'btn btn-primary' %>
      <%= link_to "Add an External Link", new_curation_concern_linked_resource_path(curation_concern), class: 'btn btn-primary' %>
    </div>
  <% end %>
<% end %>

Version data entries

8 entries across 4 versions & 1 rubygems

Version Path
curate-0.5.6 app/views/curation_concern/base/show.html.erb
curate-0.5.6 app/views/curation_concern/generic_works/show.html.erb
curate-0.5.5 app/views/curation_concern/base/show.html.erb
curate-0.5.5 app/views/curation_concern/generic_works/show.html.erb
curate-0.5.4 app/views/curation_concern/base/show.html.erb
curate-0.5.4 app/views/curation_concern/generic_works/show.html.erb
curate-0.5.2 app/views/curation_concern/base/show.html.erb
curate-0.5.2 app/views/curation_concern/generic_works/show.html.erb