Sha256: ea63525a0a490074c9d15a35d2b405223a6862644da201442787b2b5f44a5673
Contents?: true
Size: 938 Bytes
Versions: 10
Compression:
Stored size: 938 Bytes
Contents
<% if can?(:edit, file_set.id) %> <%= link_to( 'Edit', edit_polymorphic_path([main_app, file_set]), { class: 'btn btn-default', title: "Edit #{file_set}" }) %> <%= link_to( 'Rollback', main_app.versions_curation_concerns_file_set_path(file_set), { class: 'btn btn-default', title: "Rollback to previous version" }) %> <% end %> <% if can?(:destroy, file_set.id) %> <%= link_to( 'Delete', polymorphic_path([main_app, file_set]), class: 'btn btn-default', method: :delete, title: "Delete #{file_set}", data: {confirm: "Deleting #{file_set} from #{t('curation_concerns.product_name')} is permanent. Click OK to delete this from #{t('curation_concerns.product_name')}, or Cancel to cancel this operation"} )%> <% end %> <% if can?(:read, file_set.id) %> <%= link_to 'Download', main_app.download_path(file_set), class: 'btn btn-default', title: "Download #{file_set.to_s.inspect}", target: "_blank" %> <% end %>
Version data entries
10 entries across 10 versions & 1 rubygems