@@ -17,7 +17,7 | |||||
17 | <% if @allowed_projects.present? %> |
|
17 | <% if @allowed_projects.present? %> | |
18 | <p> |
|
18 | <p> | |
19 | <label for="issue_project_id"><%= l(:field_project) %></label> |
|
19 | <label for="issue_project_id"><%= l(:field_project) %></label> | |
20 |
<%= select_tag('issue[project_id]', |
|
20 | <%= select_tag('issue[project_id]', content_tag('option', l(:label_no_change_option), :value => '') + project_tree_options_for_select(@allowed_projects, :selected => @target_project)) %> | |
21 | </p> |
|
21 | </p> | |
22 | <%= observe_field :issue_project_id, :url => {:action => 'bulk_edit'}, |
|
22 | <%= observe_field :issue_project_id, :url => {:action => 'bulk_edit'}, | |
23 | :update => 'content', |
|
23 | :update => 'content', | |
@@ -25,17 +25,17 | |||||
25 | <% end %> |
|
25 | <% end %> | |
26 | <p> |
|
26 | <p> | |
27 | <label for="issue_tracker_id"><%= l(:field_tracker) %></label> |
|
27 | <label for="issue_tracker_id"><%= l(:field_tracker) %></label> | |
28 |
<%= select_tag('issue[tracker_id]', |
|
28 | <%= select_tag('issue[tracker_id]', content_tag('option', l(:label_no_change_option), :value => '') + options_from_collection_for_select(@trackers, :id, :name)) %> | |
29 | </p> |
|
29 | </p> | |
30 | <% if @available_statuses.any? %> |
|
30 | <% if @available_statuses.any? %> | |
31 | <p> |
|
31 | <p> | |
32 | <label for='issue_status_id'><%= l(:field_status) %></label> |
|
32 | <label for='issue_status_id'><%= l(:field_status) %></label> | |
33 |
<%= select_tag('issue[status_id]', |
|
33 | <%= select_tag('issue[status_id]',content_tag('option', l(:label_no_change_option), :value => '') + options_from_collection_for_select(@available_statuses, :id, :name)) %> | |
34 | </p> |
|
34 | </p> | |
35 | <% end %> |
|
35 | <% end %> | |
36 | <p> |
|
36 | <p> | |
37 | <label for='issue_priority_id'><%= l(:field_priority) %></label> |
|
37 | <label for='issue_priority_id'><%= l(:field_priority) %></label> | |
38 |
<%= select_tag('issue[priority_id]', |
|
38 | <%= select_tag('issue[priority_id]', content_tag('option', l(:label_no_change_option), :value => '') + options_from_collection_for_select(IssuePriority.active, :id, :name)) %> | |
39 | </p> |
|
39 | </p> | |
40 | <p> |
|
40 | <p> | |
41 | <label for='issue_assigned_to_id'><%= l(:field_assigned_to) %></label> |
|
41 | <label for='issue_assigned_to_id'><%= l(:field_assigned_to) %></label> |
General Comments 0
You need to be logged in to leave comments.
Login now