@@ -1,6 +1,7 | |||||
1 | <h2><%=l(:label_issue_category)%></h2> |
|
1 | <h2><%=l(:label_issue_category)%></h2> | |
2 |
|
2 | |||
3 | <% labelled_form_for :issue_category, @category, :url => issue_category_path(@category), :html => {:method => :put} do |f| %> |
|
3 | <%= labelled_form_for @category, :as => :issue_category, | |
|
4 | :url => issue_category_path(@category), :html => {:method => :put} do |f| %> | |||
4 | <%= render :partial => 'issue_categories/form', :locals => { :f => f } %> |
|
5 | <%= render :partial => 'issue_categories/form', :locals => { :f => f } %> | |
5 | <%= submit_tag l(:button_save) %> |
|
6 | <%= submit_tag l(:button_save) %> | |
6 | <% end %> |
|
7 | <% end %> |
@@ -1,6 +1,7 | |||||
1 | <h2><%=l(:label_issue_category_new)%></h2> |
|
1 | <h2><%=l(:label_issue_category_new)%></h2> | |
2 |
|
2 | |||
3 | <% labelled_form_for :issue_category, @category, :url => project_issue_categories_path(@project) do |f| %> |
|
3 | <%= labelled_form_for @category, :as => :issue_category, | |
|
4 | :url => project_issue_categories_path(@project) do |f| %> | |||
4 | <%= render :partial => 'issue_categories/form', :locals => { :f => f } %> |
|
5 | <%= render :partial => 'issue_categories/form', :locals => { :f => f } %> | |
5 | <%= submit_tag l(:button_create) %> |
|
6 | <%= submit_tag l(:button_create) %> | |
6 | <% end %> |
|
7 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now