@@ -3,13 +3,13 | |||||
3 |
|
3 | |||
4 | <p> |
|
4 | <p> | |
5 | <label><%= l(:field_priority) %>: |
|
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 | <label><%= l(:field_assigned_to) %>: |
|
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 | <label><%= l(:field_category) %>: |
|
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 | <label><%= l(:field_fixed_version) %>: |
|
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 | </p> |
|
13 | </p> | |
14 |
|
14 | |||
15 | <p> |
|
15 | <p> | |
@@ -18,7 +18,7 | |||||
18 | <label><%= l(:field_due_date) %>: |
|
18 | <label><%= l(:field_due_date) %>: | |
19 | <%= text_field_tag 'due_date', '', :size => 10 %><%= calendar_for('due_date') %></label> |
|
19 | <%= text_field_tag 'due_date', '', :size => 10 %><%= calendar_for('due_date') %></label> | |
20 | <label><%= l(:field_done_ratio) %>: |
|
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 | </p> |
|
22 | </p> | |
23 |
|
23 | |||
24 | <label for="notes"><%= l(:field_notes) %></label><br /> |
|
24 | <label for="notes"><%= l(:field_notes) %></label><br /> |
General Comments 0
You need to be logged in to leave comments.
Login now