Make use of link_to_issue.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3062 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2009-11-15 14:07:37 +00:00
parent 6838677e30
commit 63c8675887
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,10 @@
<h2><%= l(:button_move) %></h2> <h2><%= l(:button_move) %></h2>
<ul><%= @issues.collect {|i| content_tag('li', link_to(h("#{i.tracker} ##{i.id}"), { :action => 'show', :id => i }) + h(": #{i.subject}")) }.join("\n") %></ul> <ul>
<% @issues.each do |issue| -%>
<li><%= link_to_issue issue %></li>
<% end -%>
</ul>
<% form_tag({}, :id => 'move_form') do %> <% form_tag({}, :id => 'move_form') do %>
<%= @issues.collect {|i| hidden_field_tag('ids[]', i.id)}.join %> <%= @issues.collect {|i| hidden_field_tag('ids[]', i.id)}.join %>