15720: Warn about empty ManagementToken or SystemRootToken.
[arvados.git] / apps / workbench / app / views / application / _delete_object_button.html.erb
1 <%# Copyright (C) The Arvados Authors. All rights reserved.
2
3 SPDX-License-Identifier: AGPL-3.0 %>
4
5 <% if object.deletable? %>
6   <%= link_to({controller: object.class.table_name, action: 'destroy', id: object.uuid}, method: :delete, remote: true, data: {confirm: "Really delete #{object.class_for_display.downcase} '#{object.friendly_link_name}'?"}) do %>
7     <i class="glyphicon glyphicon-trash"></i>
8   <% end %>
9 <% end %>