Confirm before deleting issue categories

This commit is contained in:
Eric Davis 2011-11-14 19:10:13 -08:00
parent 5f3c6b87e4
commit af9572d985
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
<td><%=h(category.assigned_to.name) if category.assigned_to %></td>
<td class="buttons">
<%= link_to_if_authorized l(:button_edit), { :controller => 'issue_categories', :action => 'edit', :id => category }, :class => 'icon icon-edit' %>
<%= link_to_if_authorized l(:button_delete), {:controller => 'issue_categories', :action => 'destroy', :id => category}, :method => :post, :class => 'icon icon-del' %>
<%= link_to_if_authorized l(:button_delete), {:controller => 'issue_categories', :action => 'destroy', :id => category}, :method => :post, :class => 'icon icon-del', :confirm => l(:text_are_you_sure) %>
</td>
</tr>
<% end %>