1 <h2><%= l(:button_move) %></h2>
4 <% @issues.each do |issue| -%>
5 <li><%= link_to_issue issue %></li>
9 <% form_tag({}, :id => 'move_form') do %>
10 <%= @issues.collect {|i| hidden_field_tag('ids[]', i.id)}.join %>
12 <div class="box tabular">
13 <p><label for="new_project_id"><%=l(:field_project)%>:</label>
14 <%= select_tag "new_project_id",
15 project_tree_options_for_select(@allowed_projects, :selected => @target_project),
16 :onchange => remote_function(:url => { :action => 'move' },
19 :with => "Form.serialize('move_form')") %></p>
21 <p><label for="new_tracker_id"><%=l(:field_tracker)%>:</label>
22 <%= select_tag "new_tracker_id", "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@trackers, "id", "name") %></p>
25 <label><%= l(:field_assigned_to) %></label>
26 <%= select_tag('assigned_to_id', content_tag('option', l(:label_no_change_option), :value => '') +
27 content_tag('option', l(:label_nobody), :value => 'none') +
28 options_from_collection_for_select(@target_project.assignable_users, :id, :name)) %>
32 <label><%= l(:field_status) %></label>
33 <%= select_tag('status_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@available_statuses, :id, :name)) %>
37 <label><%= l(:field_start_date) %></label>
38 <%= text_field_tag 'start_date', '', :size => 10 %><%= calendar_for('start_date') %>
42 <label><%= l(:field_due_date) %></label>
43 <%= text_field_tag 'due_date', '', :size => 10 %><%= calendar_for('due_date') %>
46 <p><label for="copy_options_copy"><%= l(:button_copy)%></label>
47 <%= check_box_tag "copy_options[copy]", "1", @copy %></p>
50 <%= submit_tag l(:button_move) %>
51 <%= submit_tag l(:button_move_and_follow), :name => 'follow' %>