Sha256: 2f6536254e28d4731c4708bba43abd39265832acb19b1991d3fe6e7ade0f5df5
Contents?: true
Size: 900 Bytes
Versions: 64
Compression:
Stored size: 900 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" %> <% end %>
Version data entries
64 entries across 59 versions & 2 rubygems