Merge branch '3354-render-textile' closes #3354
[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 %>