Sha256: dca8167ae7e0a970a6f8f4475c29d8e753093565fd1f84aa13ca7b1552394581
Contents?: true
Size: 1.6 KB
Versions: 5
Compression:
Stored size: 1.6 KB
Contents
<% provide :page_title, curation_concern_page_title(curation_concern) %> <% provide :page_header do %> <h1><%= curation_concern %> <span class="human_readable_type">(<%= curation_concern.human_readable_type %>)</span></h1> <% end %> <%= render 'representative_media', work: curation_concern %> <%= render 'attributes', curation_concern: curation_concern %> <%= render 'related_files', curation_concern: curation_concern %> <%= render 'related_resources', curation_concern: curation_concern %> <%= render 'collections', curation_concern: curation_concern %> <% collector = can?(:collect, curation_concern) %> <% editor = can?(:edit, curation_concern) %> <% if collector || editor %> <div class="form-actions"> <% if editor %> <%= link_to "Edit This #{curation_concern.human_readable_type}", edit_polymorphic_path([:curation_concern, curation_concern]), class: 'btn btn-primary' %> <%= link_to "Delete This #{curation_concern.human_readable_type}", [:curation_concern, curation_concern], class: 'btn btn-primary', data: { confirm: "Delete this #{curation_concern.human_readable_type}?" }, method: :delete %> <%= 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' %> <% end %> <% if collector %> <%= render 'curate/collections/add_to_collection_modal', collectible: curation_concern %> <%= link_to_select_collection curation_concern, class: 'btn btn-primary' %> <% end %> </div> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems