@@ -13,18 +13,18 | |||||
13 | <p><%= f.select :category_id, (@project.issue_categories.collect {|c| [c.name, c.id]}), :include_blank => true %> |
|
13 | <p><%= f.select :category_id, (@project.issue_categories.collect {|c| [c.name, c.id]}), :include_blank => true %> | |
14 | <%= prompt_to_remote(image_tag('add.png', :style => 'vertical-align: middle;'), |
|
14 | <%= prompt_to_remote(image_tag('add.png', :style => 'vertical-align: middle;'), | |
15 | l(:label_issue_category_new), |
|
15 | l(:label_issue_category_new), | |
16 |
'category[name]', |
|
16 | 'category[name]', | |
17 | {:controller => 'issue_categories', :action => 'new', :project_id => @project}, |
|
17 | {:controller => 'issue_categories', :action => 'new', :project_id => @project}, | |
18 |
:title => l(:label_issue_category_new), |
|
18 | :title => l(:label_issue_category_new), | |
19 | :tabindex => 199) if authorize_for('issue_categories', 'new') %></p> |
|
19 | :tabindex => 199) if authorize_for('issue_categories', 'new') %></p> | |
20 | <% end %> |
|
20 | <% end %> | |
21 | <% unless @issue.assignable_versions.empty? %> |
|
21 | <% unless @issue.assignable_versions.empty? %> | |
22 | <p><%= f.select :fixed_version_id, version_options_for_select(@issue.assignable_versions, @issue.fixed_version), :include_blank => true %> |
|
22 | <p><%= f.select :fixed_version_id, version_options_for_select(@issue.assignable_versions, @issue.fixed_version), :include_blank => true %> | |
23 | <%= prompt_to_remote(image_tag('add.png', :style => 'vertical-align: middle;'), |
|
23 | <%= prompt_to_remote(image_tag('add.png', :style => 'vertical-align: middle;'), | |
24 | l(:label_version_new), |
|
24 | l(:label_version_new), | |
25 |
'version[name]', |
|
25 | 'version[name]', | |
26 | {:controller => 'versions', :action => 'create', :project_id => @project}, |
|
26 | {:controller => 'versions', :action => 'create', :project_id => @project}, | |
27 |
:title => l(:label_version_new), |
|
27 | :title => l(:label_version_new), | |
28 | :tabindex => 200) if authorize_for('versions', 'new') %> |
|
28 | :tabindex => 200) if authorize_for('versions', 'new') %> | |
29 | </p> |
|
29 | </p> | |
30 | <% end %> |
|
30 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now