Merge branch 'master' into 3112-report-bug
[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: "Really delete #{object.class_for_display.downcase} '#{object.friendly_link_name}'?"}) do %>
3     <i class="glyphicon glyphicon-trash"></i>
4   <% end %>
5 <% end %>