From: Jean-Philippe Lang Date: Wed, 9 Dec 2009 11:03:55 +0000 (+0000) Subject: Moves submit button to tracker form. X-Git-Tag: 0.9.0~116 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1c3722b5cbaa4a8d796f41adb602534b3f5ad05c;p=redmine.git Moves submit button to tracker form. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3146 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/trackers/_form.rhtml b/app/views/trackers/_form.rhtml index a14122c6b..870c53f51 100644 --- a/app/views/trackers/_form.rhtml +++ b/app/views/trackers/_form.rhtml @@ -26,6 +26,7 @@ <% end %> +<%= submit_tag l(@tracker.new_record? ? :button_create : :button_save) %>
diff --git a/app/views/trackers/edit.rhtml b/app/views/trackers/edit.rhtml index b5d6f9dc2..135bafd5f 100644 --- a/app/views/trackers/edit.rhtml +++ b/app/views/trackers/edit.rhtml @@ -2,5 +2,4 @@ <% form_for :tracker, @tracker, :url => { :action => 'edit' }, :builder => TabularFormBuilder do |f| %> <%= render :partial => 'form', :locals => { :f => f } %> -<%= submit_tag l(:button_save) %> <% end %> diff --git a/app/views/trackers/new.rhtml b/app/views/trackers/new.rhtml index 6dccf0d72..db32471dc 100644 --- a/app/views/trackers/new.rhtml +++ b/app/views/trackers/new.rhtml @@ -2,5 +2,4 @@ <% form_for :tracker, @tracker, :url => { :action => 'new' }, :builder => TabularFormBuilder do |f| %> <%= render :partial => 'form', :locals => { :f => f } %> -<%= submit_tag l(:button_create) %> <% end %>