From 24452509601125bbcc33a9182b889f4820d8d32c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 22 Oct 2009 17:51:23 +0000 Subject: [PATCH] Fixes form buttons on projects/settings/activities (closes #4083). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2956 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/projects/settings/_activities.rhtml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/views/projects/settings/_activities.rhtml b/app/views/projects/settings/_activities.rhtml index 36b740d38..019355833 100644 --- a/app/views/projects/settings/_activities.rhtml +++ b/app/views/projects/settings/_activities.rhtml @@ -31,7 +31,12 @@ <% end %> +
+<%= link_to(l(:button_reset), {:controller => 'projects', :action => 'reset_activities', :id => @project}, + :method => :delete, + :confirm => l(:text_are_you_sure), + :class => 'icon icon-del') %> +
+ <%= submit_tag l(:button_save) %> <% end %> -<%= button_to l(:button_reset), {:controller => 'projects', :action => 'reset_activities', :id => @project}, :method => :delete, :confirm => l(:text_are_you_sure), :style => "position: relative; top: -20px; left: 60px;" %> -