Commit 3abe781b33562c965dce08311c37951575b353fd
Committed by
Daniela Feitosa
1 parent
3eefc717
Exists in
master
and in
29 other branches
Adding a question before product removal on manage product interface
(ActionItem2223)
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/manage_products/index.rhtml
@@ -16,7 +16,7 @@ | @@ -16,7 +16,7 @@ | ||
16 | <td><strong><%= link_to product.name, :action => 'show', :id => product %></strong></td> | 16 | <td><strong><%= link_to product.name, :action => 'show', :id => product %></strong></td> |
17 | <td><%= product.price %></td> | 17 | <td><%= product.price %></td> |
18 | <td> | 18 | <td> |
19 | - <%= button :delete, _('Delete'), :action => 'destroy', :id => product %> | 19 | + <%= button :delete, _('Remove'), {:action => 'destroy', :id => product}, :confirm => _('Are you sure you want to remove this product?') %> |
20 | </td> | 20 | </td> |
21 | </tr> | 21 | </tr> |
22 | <% end %> | 22 | <% end %> |