@@ -1,30 +1,30 | |||
|
1 | 1 | <div id="bulk-edit-fields"> |
|
2 | 2 | <fieldset class="box"><legend><%= l(:label_bulk_edit_selected_issues) %></legend> |
|
3 | 3 | |
|
4 | 4 | <p> |
|
5 | 5 | <label><%= l(:field_priority) %>: |
|
6 | <%= select_tag('priority_id', "<option>#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(Enumeration.get_values('IPRI'), :id, :name)) %></label> | |
|
6 | <%= select_tag('priority_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(Enumeration.get_values('IPRI'), :id, :name)) %></label> | |
|
7 | 7 | <label><%= l(:field_assigned_to) %>: |
|
8 | <%= select_tag('assigned_to_id', "<option>#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.assignable_users, :id, :name)) %></label> | |
|
8 | <%= select_tag('assigned_to_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.assignable_users, :id, :name)) %></label> | |
|
9 | 9 | <label><%= l(:field_category) %>: |
|
10 | <%= select_tag('category_id', "<option>#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.issue_categories, :id, :name)) %></label> | |
|
10 | <%= select_tag('category_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.issue_categories, :id, :name)) %></label> | |
|
11 | 11 | <label><%= l(:field_fixed_version) %>: |
|
12 | <%= select_tag('fixed_version_id', "<option>#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.versions, :id, :name)) %></label> | |
|
12 | <%= select_tag('fixed_version_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.versions, :id, :name)) %></label> | |
|
13 | 13 | </p> |
|
14 | 14 | |
|
15 | 15 | <p> |
|
16 | 16 | <label><%= l(:field_start_date) %>: |
|
17 | 17 | <%= text_field_tag 'start_date', '', :size => 10 %><%= calendar_for('start_date') %></label> |
|
18 | 18 | <label><%= l(:field_due_date) %>: |
|
19 | 19 | <%= text_field_tag 'due_date', '', :size => 10 %><%= calendar_for('due_date') %></label> |
|
20 | 20 | <label><%= l(:field_done_ratio) %>: |
|
21 | <%= select_tag 'done_ratio', options_for_select([l(:label_no_change_option)] + (0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %></label> | |
|
21 | <%= select_tag 'done_ratio', options_for_select([[l(:label_no_change_option), '']] + (0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %></label> | |
|
22 | 22 | </p> |
|
23 | 23 | |
|
24 | 24 | <label for="notes"><%= l(:field_notes) %></label><br /> |
|
25 | 25 | <%= text_area_tag 'notes', '', :cols => 80, :rows => 5 %> |
|
26 | 26 | |
|
27 | 27 | </fieldset> |
|
28 | 28 | <p><%= submit_tag l(:button_apply) %> |
|
29 | 29 | <%= link_to l(:button_cancel), {}, :onclick => 'Element.hide("bulk-edit-fields"); if ($("query_form")) {Element.show("query_form")}; return false;' %></p> |
|
30 | 30 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now