diff app/views/issue_categories/new.html.erb @ 1115:433d4f72a19b redmine-2.2

Update to Redmine SVN revision 11137 on 2.2-stable branch
author Chris Cannam
date Mon, 07 Jan 2013 12:01:42 +0000
parents cbb26bc654de
children
line wrap: on
line diff
--- a/app/views/issue_categories/new.html.erb	Wed Jun 27 14:54:18 2012 +0100
+++ b/app/views/issue_categories/new.html.erb	Mon Jan 07 12:01:42 2013 +0000
@@ -1,6 +1,7 @@
 <h2><%=l(:label_issue_category_new)%></h2>
 
-<% labelled_tabular_form_for :issue_category, @category, :url => project_issue_categories_path(@project) do |f| %>
+<%= labelled_form_for @category, :as => :issue_category,
+                      :url => project_issue_categories_path(@project) do |f| %>
 <%= render :partial => 'issue_categories/form', :locals => { :f => f } %>
 <%= submit_tag l(:button_create) %>
 <% end %>