5614: Workbench renders error flash separately from others.
[arvados.git] / apps / workbench / app / views / application / _delete_object_button.html.erb
index 52a568f9baa83e64e6adba161c81c9c8e486ddd8..6d6383e24ec02c6f460f69e738ace017d52082d1 100644 (file)
@@ -1,5 +1,5 @@
 <% if object.editable? %>
-  <%= 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 %>
+  <%= 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 %>
     <i class="glyphicon glyphicon-trash"></i>
   <% end %>
 <% end %>