<% form_tag do %>
<%=l(:label_tracker_plural)%>
<% @trackers.each do |tracker| %>
<%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %>
<%= tracker.name %>
<% end %>
<%= submit_tag l(:button_apply), :class => 'button-small' %>
<% end %>
<% if @versions.empty? %>
<%= l(:label_no_data) %>
<% end %>
<% @versions.each do |version| %>
<%= version.name %>
<%= format_date(version.effective_date) %>
<%=h version.description %>
<% version.fixed_issues.find(:all, :conditions => ["issues.tracker_id in (#{@selected_tracker_ids.join(',')})"]).each do |issue| %>
- <%= link_to "#{issue.tracker.name} #{issue.id}", :controller => 'issues', :action => 'show', :id => issue %>: <%=h issue.subject %>
<% end %>
<% end %>