Confirm bulk req delete

This commit is contained in:
Toks
2014-07-15 01:39:01 -04:00
parent 11133ba2b0
commit 3c204892a9

View File

@@ -24,7 +24,7 @@
<%= link_to "Approve", approve_bulk_update_request_path(request), :method => :post %> |
<% end %>
<% if request.editable?(CurrentUser.user) %>
<%= link_to "Delete", bulk_update_request_path(request), :method => :delete %> |
<%= link_to "Delete", bulk_update_request_path(request), :method => :delete, :data => {:confirm => "Are you sure you want to delete this bulk update request?"} %> |
<%= link_to "Edit", edit_bulk_update_request_path(request) %>
<% end %>
</td>