##// END OF EJS Templates
Bulk editing:...
Jean-Philippe Lang -
r814:ff2e0314009f
parent child
Show More
@@ -3,13 +3,13
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>
@@ -18,7 +18,7
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 />
General Comments 0
You need to be logged in to leave comments. Login now