Sha256: 415a4dfb5894641fad2ceb53308240722f4b86f1b78d873d7492c18a4f6f967b
Contents?: true
Size: 1.14 KB
Versions: 2
Compression:
Stored size: 1.14 KB
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) %> <div class="btn-group"> <button class="btn btn-default btn-small dropdown-toggle" data-toggle="dropdown" href="#"> Download <span class="caret"></span></button> <ul class="dropdown-menu"> <li> <%= link_to "File", main_app.download_path(file_set) %> </li> <li> <%= link_to "Display Vector",main_app.download_path(file_set, file: 'display_vector') %> </li> </ul> </div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
geo_concerns-0.0.7 | app/views/geo_concerns/file_sets/actions/_vector_actions.html.erb |
geo_concerns-0.0.6 | app/views/geo_concerns/file_sets/actions/_vector_actions.html.erb |