Merge branch '2640-folder-api' into 1970-folder-view
[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} #{object.uuid}.\n\nAre you sure?"}) do %>
3     <i class="glyphicon glyphicon-trash"></i>
4   <% end %>
5 <% end %>