diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-09-12 09:25:39 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-09-12 09:25:39 +0000 |
commit | 7f4635022f7dab0fb755868a99a0db6a3e45ec81 (patch) | |
tree | 951c846844a3114733ace331f5813355e7b3868f /app/views/custom_fields/_index.rhtml | |
parent | ede9960444ed7c93e1561f004ee8682a0458f295 (diff) | |
download | redmine-7f4635022f7dab0fb755868a99a0db6a3e45ec81.tar.gz redmine-7f4635022f7dab0fb755868a99a0db6a3e45ec81.zip |
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
Diffstat (limited to 'app/views/custom_fields/_index.rhtml')
-rw-r--r-- | app/views/custom_fields/_index.rhtml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/custom_fields/_index.rhtml b/app/views/custom_fields/_index.rhtml index 1417dd4bb..c70fbea48 100644 --- a/app/views/custom_fields/_index.rhtml +++ b/app/views/custom_fields/_index.rhtml @@ -21,8 +21,11 @@ <td align="center"><%= l(:label_x_projects, :count => custom_field.projects.count) if custom_field.is_a? IssueCustomField and !custom_field.is_for_all? %></td> <% end %> <td align="center" style="width:15%;"><%= reorder_links('custom_field', {:action => 'edit', :id => custom_field}) %></td> - <td align="center"> - <%= button_to l(:button_delete), { :action => 'destroy', :id => custom_field }, :confirm => l(:text_are_you_sure), :class => "button-small" %> + <td class="buttons"> + <%= link_to(l(:button_delete), { :action => 'destroy', :id => custom_field }, + :method => :post, + :confirm => l(:text_are_you_sure), + :class => 'icon icon-del') %> </td> </tr> <% end; reset_cycle %> |