move_issues.rhtml
29 lines
| 1.2 KiB
| text/html+ruby
|
RhtmlLexer
|
r30 | <h2><%=l(:button_move)%></h2> | ||
|
r907 | <% form_tag({:action => 'move_issues', :id => @project}, :class => 'tabular', :id => 'move_form') do %> | ||
|
r30 | |||
<div class="box"> | ||||
|
r676 | <p><label><%= l(:label_issue_plural) %> :</label> | ||
|
r30 | <% for issue in @issues %> | ||
|
r507 | <%= link_to_issue issue %>: <%=h issue.subject %> | ||
|
r30 | <%= hidden_field_tag "issue_ids[]", issue.id %><br /> | ||
<% end %> | ||||
<i>(<%= @issues.length%> <%= lwr(:label_issue, @issues.length)%>)</i></p> | ||||
| ||||
<!--[form:issue]--> | ||||
|
r676 | <p><label for="new_project_id"><%=l(:field_project)%> :</label> | ||
|
r907 | <%= 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> | ||||
|
r30 | |||
|
r676 | <p><label for="new_tracker_id"><%=l(:field_tracker)%> :</label> | ||
|
r890 | <%= select_tag "new_tracker_id", "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@trackers, "id", "name") %></p> | ||
|
r30 | </div> | ||
<%= submit_tag l(:button_move) %> | ||||
|
r181 | <% end %> | ||