##// END OF EJS Templates
Fixes #765: Date pickers don't work on issues' bulk edit view....
Jean-Philippe Lang -
r1174:4f9f3097d905
parent child
Show More
@@ -1,45 +1,52
1 1 <h2><%= l(:label_bulk_edit_selected_issues) %></h2>
2 2
3 3 <ul><%= @issues.collect {|i| content_tag('li', link_to(h("#{i.tracker} ##{i.id}"), { :action => 'show', :id => i }) + h(": #{i.subject}")) }.join("\n") %></ul>
4 4
5 5 <% form_tag() do %>
6 6 <%= @issues.collect {|i| hidden_field_tag('ids[]', i.id)}.join %>
7 7 <div class="box">
8 8 <fieldset>
9 9 <legend><%= l(:label_change_properties) %></legend>
10 10 <p>
11 11 <% if @available_statuses.any? %>
12 12 <label><%= l(:field_status) %>:
13 13 <%= select_tag('status_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@available_statuses, :id, :name)) %></label>
14 14 <% end %>
15 15 <label><%= l(:field_priority) %>:
16 16 <%= select_tag('priority_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(Enumeration.get_values('IPRI'), :id, :name)) %></label>
17 17 <label><%= l(:field_category) %>:
18 18 <%= select_tag('category_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.issue_categories, :id, :name)) %></label>
19 19 </p>
20 20 <p>
21 21 <label><%= l(:field_assigned_to) %>:
22 22 <%= select_tag('assigned_to_id', content_tag('option', l(:label_no_change_option), :value => '') +
23 23 content_tag('option', l(:label_nobody), :value => 'none') +
24 24 options_from_collection_for_select(@project.assignable_users, :id, :name)) %></label>
25 25 <label><%= l(:field_fixed_version) %>:
26 26 <%= select_tag('fixed_version_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.versions, :id, :name)) %></label>
27 27 </p>
28 28
29 29 <p>
30 30 <label><%= l(:field_start_date) %>:
31 31 <%= text_field_tag 'start_date', '', :size => 10 %><%= calendar_for('start_date') %></label>
32 32 <label><%= l(:field_due_date) %>:
33 33 <%= text_field_tag 'due_date', '', :size => 10 %><%= calendar_for('due_date') %></label>
34 34 <label><%= l(:field_done_ratio) %>:
35 35 <%= select_tag 'done_ratio', options_for_select([[l(:label_no_change_option), '']] + (0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %></label>
36 36 </p>
37 37 </fieldset>
38 38
39 39 <fieldset><legend><%= l(:field_notes) %></legend>
40 40 <%= text_area_tag 'notes', @notes, :cols => 60, :rows => 10, :class => 'wiki-edit' %>
41 41 <%= wikitoolbar_for 'notes' %>
42 42 </div>
43 43
44 44 <p><%= submit_tag l(:button_submit) %>
45 45 <% end %>
46
47 <% content_for :header_tags do %>
48 <%= javascript_include_tag 'calendar/calendar' %>
49 <%= javascript_include_tag "calendar/lang/calendar-#{current_language}.js" %>
50 <%= javascript_include_tag 'calendar/calendar-setup' %>
51 <%= stylesheet_link_tag 'calendar' %>
52 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now