<%= l(:button_move) %>

<% form_tag({}, :id => 'move_form') do %> <%= @issues.collect {|i| hidden_field_tag('ids[]', i.id)}.join %>

<%= select_tag "new_project_id", options_from_collection_for_select(@allowed_projects, 'id', 'name', @target_project.id), :onchange => remote_function(:url => { :action => 'move' }, :method => :get, :update => 'content', :with => "Form.serialize('move_form')") %>

<%= select_tag "new_tracker_id", "" + options_from_collection_for_select(@trackers, "id", "name") %>

<%= check_box_tag "copy_options[copy]", "1" %>

<%= submit_tag l(:button_move) %> <% end %>