<%= l(:label_search) %>

<% form_tag({:action => 'search', :id => @project}, :method => :get) do %>

<%= text_field_tag 'q', @question, :size => 30 %> <%= check_box_tag 'scope[]', 'issues', (@scope.include? 'issues') %> <% if @project.repository %> <%= check_box_tag 'scope[]', 'changesets', (@scope.include? 'changesets') %> <% end %> <%= check_box_tag 'scope[]', 'news', (@scope.include? 'news') %> <%= check_box_tag 'scope[]', 'documents', (@scope.include? 'documents') %> <% if @project.wiki %> <%= check_box_tag 'scope[]', 'wiki', (@scope.include? 'wiki') %> <% end %>
<%= check_box_tag 'all_words', 1, @all_words %> <%= l(:label_all_words) %>

<%= submit_tag l(:button_submit), :name => 'submit' %> <% end %>
<% if @results %>

<%= lwr(:label_result, @results.length) %>

<% end %>