Sha256: c01e81edc5bbf2a018e1cf524cb058f7d1a9ca2df78b864dea0dc177d0e5445f
Contents?: true
Size: 1.8 KB
Versions: 3
Compression:
Stored size: 1.8 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: 'representative_media', locals: {work: curation_concern} %> <%= 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 %> <% collector = can?(:collect, curation_concern) %> <% editor = can?(:edit, curation_concern) %> <% if collector || editor %> <% content_for :second_row do %> <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 'add_to_collection_gui', collectible: curation_concern, button_class: 'btn btn-primary' %> <% end %> </div> <% end %> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
curate-0.6.6 | app/views/curation_concern/base/show.html.erb |
curate-0.6.5 | app/views/curation_concern/base/show.html.erb |
curate-0.6.4 | app/views/curation_concern/base/show.html.erb |