@@ -1,22 +1,22 | |||
|
1 | 1 | <h2><%= l(:button_move) %></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({}, :id => 'move_form') do %> |
|
6 | 6 | <%= @issues.collect {|i| hidden_field_tag('ids[]', i.id)}.join %> |
|
7 | 7 | |
|
8 | 8 | <div class="box tabular"> |
|
9 | 9 | <p><label for="new_project_id"><%=l(:field_project)%> :</label> |
|
10 | 10 | <%= select_tag "new_project_id", |
|
11 | 11 | options_from_collection_for_select(@allowed_projects, 'id', 'name', @target_project.id), |
|
12 |
:onchange => remote_function(:url => {:action => 'move' |
|
|
12 | :onchange => remote_function(:url => { :action => 'move' }, | |
|
13 | 13 | :method => :get, |
|
14 | 14 | :update => 'content', |
|
15 | 15 | :with => "Form.serialize('move_form')") %></p> |
|
16 | 16 | |
|
17 | 17 | <p><label for="new_tracker_id"><%=l(:field_tracker)%> :</label> |
|
18 | 18 | <%= select_tag "new_tracker_id", "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@trackers, "id", "name") %></p> |
|
19 | 19 | </div> |
|
20 | 20 | |
|
21 | 21 | <%= submit_tag l(:button_move) %> |
|
22 | 22 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now