2006-10-15 18:33:04 +04:00
|
|
|
<h2><%=l(:button_move)%></h2>
|
|
|
|
|
|
|
|
|
2007-11-20 23:29:03 +03:00
|
|
|
<% form_tag({:action => 'move_issues', :id => @project}, :class => 'tabular', :id => 'move_form') do %>
|
2006-10-15 18:33:04 +04:00
|
|
|
|
|
|
|
<div class="box">
|
2007-09-01 00:56:14 +04:00
|
|
|
<p><label><%= l(:label_issue_plural) %> :</label>
|
2006-10-15 18:33:04 +04:00
|
|
|
<% for issue in @issues %>
|
2007-05-05 19:55:50 +04:00
|
|
|
<%= link_to_issue issue %>: <%=h issue.subject %>
|
2006-10-15 18:33:04 +04:00
|
|
|
<%= hidden_field_tag "issue_ids[]", issue.id %><br />
|
|
|
|
<% end %>
|
|
|
|
<i>(<%= @issues.length%> <%= lwr(:label_issue, @issues.length)%>)</i></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--[form:issue]-->
|
2007-09-01 00:56:14 +04:00
|
|
|
<p><label for="new_project_id"><%=l(:field_project)%> :</label>
|
2007-11-20 23:29:03 +03:00
|
|
|
<%= select_tag "new_project_id",
|
|
|
|
options_from_collection_for_select(@projects, 'id', 'name', @target_project.id),
|
|
|
|
:onchange => remote_function(:url => {:action => 'move_issues' , :id => @project},
|
|
|
|
:method => :get,
|
|
|
|
:update => 'content',
|
|
|
|
:with => "Form.serialize('move_form')") %></p>
|
2006-10-15 18:33:04 +04:00
|
|
|
|
2007-09-01 00:56:14 +04:00
|
|
|
<p><label for="new_tracker_id"><%=l(:field_tracker)%> :</label>
|
2007-11-15 00:54:16 +03:00
|
|
|
<%= select_tag "new_tracker_id", "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@trackers, "id", "name") %></p>
|
2006-10-15 18:33:04 +04:00
|
|
|
</div>
|
|
|
|
<%= submit_tag l(:button_move) %>
|
2007-01-26 22:56:25 +03:00
|
|
|
<% end %>
|