@@ -26,17 +26,17 | |||
|
26 | 26 | <%= select_tag "new_tracker_id", "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@trackers, "id", "name") %></p> |
|
27 | 27 | |
|
28 | 28 | <p> |
|
29 | <label><%= l(:field_status) %></label> | |
|
29 | <label for='status_id'><%= l(:field_status) %></label> | |
|
30 | 30 | <%= select_tag('status_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@available_statuses, :id, :name)) %> |
|
31 | 31 | </p> |
|
32 | 32 | |
|
33 | 33 | <p> |
|
34 | <label><%= l(:field_priority) %></label> | |
|
34 | <label for='priority_id'><%= l(:field_priority) %></label> | |
|
35 | 35 | <%= select_tag('priority_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(IssuePriority.active, :id, :name)) %> |
|
36 | 36 | </p> |
|
37 | 37 | |
|
38 | 38 | <p> |
|
39 | <label><%= l(:field_assigned_to) %></label> | |
|
39 | <label for='assigned_to_id'><%= l(:field_assigned_to) %></label> | |
|
40 | 40 | <%= select_tag('assigned_to_id', content_tag('option', l(:label_no_change_option), :value => '') + |
|
41 | 41 | content_tag('option', l(:label_nobody), :value => 'none') + |
|
42 | 42 | principals_options_for_select(@target_project.assignable_users)) %> |
@@ -45,12 +45,12 | |||
|
45 | 45 | |
|
46 | 46 | <div class="splitcontentright"> |
|
47 | 47 | <p> |
|
48 | <label><%= l(:field_start_date) %></label> | |
|
48 | <label for='start_date'><%= l(:field_start_date) %></label> | |
|
49 | 49 | <%= text_field_tag 'start_date', '', :size => 10 %><%= calendar_for('start_date') %> |
|
50 | 50 | </p> |
|
51 | 51 | |
|
52 | 52 | <p> |
|
53 | <label><%= l(:field_due_date) %></label> | |
|
53 | <label for='due_date'><%= l(:field_due_date) %></label> | |
|
54 | 54 | <%= text_field_tag 'due_date', '', :size => 10 %><%= calendar_for('due_date') %> |
|
55 | 55 | </p> |
|
56 | 56 | </div> |
@@ -10,28 +10,28 | |||
|
10 | 10 | |
|
11 | 11 | <div class="splitcontentleft"> |
|
12 | 12 | <p> |
|
13 | <label><%= l(:field_tracker) %></label> | |
|
13 | <label for="issue_tracker_id"><%= l(:field_tracker) %></label> | |
|
14 | 14 | <%= select_tag('issue[tracker_id]', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@trackers, :id, :name)) %> |
|
15 | 15 | </p> |
|
16 | 16 | <% if @available_statuses.any? %> |
|
17 | 17 | <p> |
|
18 | <label><%= l(:field_status) %></label> | |
|
18 | <label for='issue_status_id'><%= l(:field_status) %></label> | |
|
19 | 19 | <%= select_tag('issue[status_id]', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@available_statuses, :id, :name)) %> |
|
20 | 20 | </p> |
|
21 | 21 | <% end %> |
|
22 | 22 | <p> |
|
23 | <label><%= l(:field_priority) %></label> | |
|
23 | <label for='issue_priority_id'><%= l(:field_priority) %></label> | |
|
24 | 24 | <%= select_tag('issue[priority_id]', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(IssuePriority.active, :id, :name)) %> |
|
25 | 25 | </p> |
|
26 | 26 | <p> |
|
27 | <label><%= l(:field_assigned_to) %></label> | |
|
27 | <label for='issue_assigned_to_id'><%= l(:field_assigned_to) %></label> | |
|
28 | 28 | <%= select_tag('issue[assigned_to_id]', content_tag('option', l(:label_no_change_option), :value => '') + |
|
29 | 29 | content_tag('option', l(:label_nobody), :value => 'none') + |
|
30 | 30 | principals_options_for_select(@assignables)) %> |
|
31 | 31 | </p> |
|
32 | 32 | <% if @project %> |
|
33 | 33 | <p> |
|
34 | <label><%= l(:field_category) %></label> | |
|
34 | <label for='issue_category_id'><%= l(:field_category) %></label> | |
|
35 | 35 | <%= select_tag('issue[category_id]', content_tag('option', l(:label_no_change_option), :value => '') + |
|
36 | 36 | content_tag('option', l(:label_none), :value => 'none') + |
|
37 | 37 | options_from_collection_for_select(@project.issue_categories, :id, :name)) %> |
@@ -40,7 +40,7 | |||
|
40 | 40 | <% #TODO: allow editing versions when multiple projects %> |
|
41 | 41 | <% if @project %> |
|
42 | 42 | <p> |
|
43 | <label><%= l(:field_fixed_version) %></label> | |
|
43 | <label for='issue_fixed_version_id'><%= l(:field_fixed_version) %></label> | |
|
44 | 44 | <%= select_tag('issue[fixed_version_id]', content_tag('option', l(:label_no_change_option), :value => '') + |
|
45 | 45 | content_tag('option', l(:label_none), :value => 'none') + |
|
46 | 46 | version_options_for_select(@project.shared_versions.open.sort)) %> |
@@ -48,7 +48,7 | |||
|
48 | 48 | <% end %> |
|
49 | 49 | |
|
50 | 50 | <% @custom_fields.each do |custom_field| %> |
|
51 |
<p><label><%= h(custom_field.name) %> |
|
|
51 | <p><label><%= h(custom_field.name) %> <%= custom_field_tag_for_bulk_edit('issue', custom_field, @projects) %></label></p> | |
|
52 | 52 | <% end %> |
|
53 | 53 | |
|
54 | 54 | <%= call_hook(:view_issues_bulk_edit_details_bottom, { :issues => @issues }) %> |
@@ -57,23 +57,23 | |||
|
57 | 57 | <div class="splitcontentright"> |
|
58 | 58 | <% if @project && User.current.allowed_to?(:manage_subtasks, @project) %> |
|
59 | 59 | <p> |
|
60 | <label><%= l(:field_parent_issue) %></label> | |
|
60 | <label for='issue_parent_issue_id'><%= l(:field_parent_issue) %></label> | |
|
61 | 61 | <%= text_field_tag 'issue[parent_issue_id]', '', :size => 10 %> |
|
62 | 62 | </p> |
|
63 | 63 | <div id="parent_issue_candidates" class="autocomplete"></div> |
|
64 | 64 | <%= javascript_tag "observeParentIssueField('#{auto_complete_issues_path(:project_id => @project) }')" %> |
|
65 | 65 | <% end %> |
|
66 | 66 | <p> |
|
67 | <label><%= l(:field_start_date) %></label> | |
|
67 | <label for='issue_start_date'><%= l(:field_start_date) %></label> | |
|
68 | 68 | <%= text_field_tag 'issue[start_date]', '', :size => 10 %><%= calendar_for('issue_start_date') %> |
|
69 | 69 | </p> |
|
70 | 70 | <p> |
|
71 | <label><%= l(:field_due_date) %></label> | |
|
71 | <label for='issue_due_date'><%= l(:field_due_date) %></label> | |
|
72 | 72 | <%= text_field_tag 'issue[due_date]', '', :size => 10 %><%= calendar_for('issue_due_date') %> |
|
73 | 73 | </p> |
|
74 | 74 | <% if Issue.use_field_for_done_ratio? %> |
|
75 | 75 | <p> |
|
76 | <label><%= l(:field_done_ratio) %></label> | |
|
76 | <label for='issue_done_ratio'><%= l(:field_done_ratio) %></label> | |
|
77 | 77 | <%= select_tag 'issue[done_ratio]', options_for_select([[l(:label_no_change_option), '']] + (0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %> |
|
78 | 78 | </p> |
|
79 | 79 | <% end %> |
@@ -26,7 +26,7 | |||
|
26 | 26 | <td><%= render :partial => 'queries/columns', :locals => {:query => @query} %></td> |
|
27 | 27 | </tr> |
|
28 | 28 | <tr> |
|
29 | <td><%= l(:field_group_by) %></td> | |
|
29 | <td><label for='group_by'><%= l(:field_group_by) %></label></td> | |
|
30 | 30 | <td><%= select_tag('group_by', options_for_select([[]] + @query.groupable_columns.collect {|c| [c.caption, c.name.to_s]}, @query.group_by)) %></td> |
|
31 | 31 | </tr> |
|
32 | 32 | </table> |
General Comments 0
You need to be logged in to leave comments.
Login now