@@ -1,4 +1,4 | |||
|
1 | <% labelled_tabular_form_for :project, @project, :url => project_path(@project), :html => {:method => (@project.new_record? ? :post : :put) } do |f| %> | |
|
1 | <% labelled_tabular_form_for @project do |f| %> | |
|
2 | 2 | <%= render :partial => 'form', :locals => { :f => f } %> |
|
3 | 3 | <%= submit_tag l(:button_save) %> |
|
4 | 4 | <% end %> |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_project_new)%></h2> |
|
2 | 2 | |
|
3 |
<% labelled_tabular_form_for |
|
|
3 | <% labelled_tabular_form_for @project, :url => { :action => "copy" } do |f| %> | |
|
4 | 4 | <%= render :partial => 'form', :locals => { :f => f } %> |
|
5 | 5 | |
|
6 | 6 | <fieldset class="box"><legend><%= l(:button_copy) %></legend> |
@@ -1,6 +1,6 | |||
|
1 | 1 | <h2><%=l(:label_project_new)%></h2> |
|
2 | 2 | |
|
3 |
<% labelled_tabular_form_for |
|
|
3 | <% labelled_tabular_form_for @project do |f| %> | |
|
4 | 4 | <%= render :partial => 'form', :locals => { :f => f } %> |
|
5 | 5 | <%= submit_tag l(:button_create) %> |
|
6 | 6 | <%= submit_tag l(:button_create_and_continue), :name => 'continue' %> |
General Comments 0
You need to be logged in to leave comments.
Login now