OSDN Git Service

Fixes form buttons on projects/settings/activities (closes #4083).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 22 Oct 2009 17:51:23 +0000 (17:51 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 22 Oct 2009 17:51:23 +0000 (17:51 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2956 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/projects/settings/_activities.rhtml

index 36b740d..0193558 100644 (file)
   <% end %>
 </table>
 
+<div class="contextual">
+<%= link_to(l(:button_reset), {:controller => 'projects', :action => 'reset_activities', :id => @project},
+                                               :method => :delete,
+                                               :confirm => l(:text_are_you_sure),
+            :class => 'icon icon-del') %>
+</div>
+
 <%= 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;" %>
-