%= form_tag({}, :method => :get) do %>
<%= hidden_field_tag "tracker_ids[]", nil, :id => nil %>
<%= l(:label_roadmap) %>
<% @trackers.each do |tracker| %>
-
<% end %>
-
<% if @project.descendants.allowed_to(:view_issues).any? %>
-
<%= hidden_field_tag 'with_subprojects', 0, :id => nil %>
<% end %>
<%= submit_tag l(:button_apply), :class => 'button-small', :name => nil %>
<% end %>
<%= l(:label_version_plural) %>
<% @versions.each do |version| %>
-
<%= link_to(format_version_name(version), "##{version_anchor(version)}") %>
<% end %>
<% if @completed_versions.present? %>
<%= link_to_function l(:label_completed_versions),
'$("#toggle-completed-versions").toggleClass("icon-collapsed icon-expanded"); $("#completed-versions").toggle()',
:id => 'toggle-completed-versions', :class => 'icon icon-collapsed collapsible' %>
<% @completed_versions.each do |version| %>
- <%= link_to_version version %>
<% end %>
<% end %>