Merge branch 'master' into 2919-provenance-graph-cutoff
[arvados.git] / apps / workbench / app / views / application / _delete_object_button.html.erb
1 <% if object.editable? %>
2   <%= link_to({action: 'destroy', id: object.uuid}, method: :delete, remote: true, data: {confirm: "You are about to delete #{object.class_for_display.downcase} '#{object.friendly_link_name}' (#{object.uuid}).\n\nAre you sure?"}) do %>
3     <i class="glyphicon glyphicon-trash"></i>
4   <% end %>
5 <% end %>