@@ -25,11 +25,13 | |||||
25 |
|
25 | |||
26 | <p><%= f.select :priority_id, (@priorities.collect {|p| [p.name, p.id]}), :required => true %></p> |
|
26 | <p><%= f.select :priority_id, (@priorities.collect {|p| [p.name, p.id]}), :required => true %></p> | |
27 | <p><%= f.select :assigned_to_id, (@issue.assignable_users.collect {|m| [m.name, m.id]}), :include_blank => true %></p> |
|
27 | <p><%= f.select :assigned_to_id, (@issue.assignable_users.collect {|m| [m.name, m.id]}), :include_blank => true %></p> | |
|
28 | <% unless @project.issue_categories.empty? %> | |||
28 | <p><%= f.select :category_id, (@project.issue_categories.collect {|c| [c.name, c.id]}), :include_blank => true %> |
|
29 | <p><%= f.select :category_id, (@project.issue_categories.collect {|c| [c.name, c.id]}), :include_blank => true %> | |
29 | <%= prompt_to_remote(l(:label_issue_category_new), |
|
30 | <%= prompt_to_remote(l(:label_issue_category_new), | |
30 | l(:label_issue_category_new), 'category[name]', |
|
31 | l(:label_issue_category_new), 'category[name]', | |
31 | {:controller => 'projects', :action => 'add_issue_category', :id => @project}, |
|
32 | {:controller => 'projects', :action => 'add_issue_category', :id => @project}, | |
32 | :class => 'small', :tabindex => 199) if authorize_for('projects', 'add_issue_category') %></p> |
|
33 | :class => 'small', :tabindex => 199) if authorize_for('projects', 'add_issue_category') %></p> | |
|
34 | <% end %> | |||
33 | <%= content_tag('p', f.select(:fixed_version_id, |
|
35 | <%= content_tag('p', f.select(:fixed_version_id, | |
34 | (@project.versions.sort.collect {|v| [v.name, v.id]}), |
|
36 | (@project.versions.sort.collect {|v| [v.name, v.id]}), | |
35 | { :include_blank => true })) unless @project.versions.empty? %> |
|
37 | { :include_blank => true })) unless @project.versions.empty? %> |
General Comments 0
You need to be logged in to leave comments.
Login now