From 7b40767428ac5c04ba80d95c7c90b049c73c7f36 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 7 Jul 2012 14:36:49 +0000 Subject: Deprecated :confirm => 'Text' option. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9937 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/custom_fields/_index.html.erb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'app/views/custom_fields/_index.html.erb') diff --git a/app/views/custom_fields/_index.html.erb b/app/views/custom_fields/_index.html.erb index 3740987ca..79fc09ae5 100644 --- a/app/views/custom_fields/_index.html.erb +++ b/app/views/custom_fields/_index.html.erb @@ -22,10 +22,7 @@ <% end %> <%= reorder_links('custom_field', {:action => 'update', :id => custom_field}, :put) %> - <%= link_to(l(:button_delete), custom_field_path(custom_field), - :method => :delete, - :confirm => l(:text_are_you_sure), - :class => 'icon icon-del') %> + <%= delete_link custom_field_path(custom_field) %> <% end; reset_cycle %> -- cgit v1.2.3