summaryrefslogtreecommitdiffstats
path: root/app/views/projects/move_issues.rhtml
blob: 57fc51e49bbe3ad3e62edae8b8f7c120734409d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<h2><%=l(:button_move)%></h2>


<% form_tag({:action => 'move_issues', :id => @project}, :class => "tabular") do %>

<div class="box">
<p><label><%= l(:label_issue_plural) %>:</label>
<% for issue in @issues %>
    <b><%= link_to issue.long_id, :controller => 'issues', :action => 'show', :id => issue %></b> - <%=h issue.subject %>
    <%= hidden_field_tag "issue_ids[]", issue.id %><br />
<% end %>
<i>(<%= @issues.length%> <%= lwr(:label_issue, @issues.length)%>)</i></p>

&nbsp;

<!--[form:issue]-->
<p><label for="new_project_id"><%=l(:field_project)%></label>
<%= select_tag "new_project_id", options_from_collection_for_select(@projects, "id", "name", @project.id) %></p>

<p><label for="new_tracker_id"><%=l(:field_tracker)%></label>
<%= select_tag "new_tracker_id", options_from_collection_for_select(@trackers, "id", "name") %></p>
</div>
<%= submit_tag l(:button_move) %>
<% end %>