Makes 'delete links' the same on admin views.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2872 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2009-09-12 09:25:39 +00:00
1 parent ede9960444
commit 7f4635022f
5 files changed
+25 -10

No files matched your search

+5 -2
View File
@@ -19,8 +19,11 @@
<%= reorder_links('role', {:action => 'edit', :id => role}) %>
<% end %>
</td>
<td align="center" style="width:10%;">
<%= button_to(l(:button_delete), { :action => 'destroy', :id => role }, :confirm => l(:text_are_you_sure), :class => "button-small", :disabled => role.builtin? ) %>
<td class="buttons">
<%= link_to(l(:button_delete), { :action => 'destroy', :id => role },
:method => :post,
:confirm => l(:text_are_you_sure),
:class => 'icon icon-del') unless role.builtin? %>
</td>
</tr>
<% end %>