Moves submit button to tracker form.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3146 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2009-12-09 11:03:55 +00:00
parent 34d14be556
commit 1c3722b5cb
3 changed files with 1 additions and 2 deletions

View File

@ -26,6 +26,7 @@
<% end %>
<!--[eoform:tracker]-->
</div>
<%= submit_tag l(@tracker.new_record? ? :button_create : :button_save) %>
</div>
<div class="splitcontentright">

View File

@ -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 %>

View File

@ -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 %>