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:
parent
34d14be556
commit
1c3722b5cb
|
@ -26,6 +26,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<!--[eoform:tracker]-->
|
<!--[eoform:tracker]-->
|
||||||
</div>
|
</div>
|
||||||
|
<%= submit_tag l(@tracker.new_record? ? :button_create : :button_save) %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="splitcontentright">
|
<div class="splitcontentright">
|
||||||
|
|
|
@ -2,5 +2,4 @@
|
||||||
|
|
||||||
<% form_for :tracker, @tracker, :url => { :action => 'edit' }, :builder => TabularFormBuilder do |f| %>
|
<% form_for :tracker, @tracker, :url => { :action => 'edit' }, :builder => TabularFormBuilder do |f| %>
|
||||||
<%= render :partial => 'form', :locals => { :f => f } %>
|
<%= render :partial => 'form', :locals => { :f => f } %>
|
||||||
<%= submit_tag l(:button_save) %>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -2,5 +2,4 @@
|
||||||
|
|
||||||
<% form_for :tracker, @tracker, :url => { :action => 'new' }, :builder => TabularFormBuilder do |f| %>
|
<% form_for :tracker, @tracker, :url => { :action => 'new' }, :builder => TabularFormBuilder do |f| %>
|
||||||
<%= render :partial => 'form', :locals => { :f => f } %>
|
<%= render :partial => 'form', :locals => { :f => f } %>
|
||||||
<%= submit_tag l(:button_create) %>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue