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