summaryrefslogtreecommitdiffstats
path: root/app/views/issue_categories
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-03-06 18:43:00 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-03-06 18:43:00 +0000
commit6511e9423340c297c49cb54521a2fc763d625727 (patch)
treed2416d6effb08bf09927d73d6f2b38b70068cdb7 /app/views/issue_categories
parent729bea1cf38ed80bc34c47a8ef3783d9e06ce5c5 (diff)
downloadredmine-6511e9423340c297c49cb54521a2fc763d625727.tar.gz
redmine-6511e9423340c297c49cb54521a2fc763d625727.zip
Moves ProjectsController#add_issue_category to IssueCategoriesController#new.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3549 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issue_categories')
-rw-r--r--app/views/issue_categories/new.html.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/issue_categories/new.html.erb b/app/views/issue_categories/new.html.erb
new file mode 100644
index 000000000..ac7936a41
--- /dev/null
+++ b/app/views/issue_categories/new.html.erb
@@ -0,0 +1,6 @@
+<h2><%=l(:label_issue_category_new)%></h2>
+
+<% labelled_tabular_form_for :category, @category, :url => { :action => 'new' } do |f| %>
+<%= render :partial => 'issue_categories/form', :locals => { :f => f } %>
+<%= submit_tag l(:button_create) %>
+<% end %>