Sha256: 8ed73a15dfd69e15ed7a7b7a6ded8ab58e6a57bb9104d90c57cbabe7cb10259c
Contents?: true
Size: 929 Bytes
Versions: 8
Compression:
Stored size: 929 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 #{application_name} is permanent. Click OK to delete this from #{application_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", data: { turbolinks: false } %> <% end %>
Version data entries
8 entries across 8 versions & 1 rubygems