git-svn-id: http://redmine.rubyforge.org/svn/trunk@707 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/0.6.0
@@ -2,7 +2,8 @@ | |||
<div class="box"> | |||
<% form_tag({}, :method => :get) do %> | |||
<p><%= text_field_tag 'q', @question, :size => 30 %> | |||
<p><%= text_field_tag 'q', @question, :size => 30, :id => 'search-input' %> | |||
<%= javascript_tag "Field.focus('search-input')" %> | |||
<% if @project %> | |||
<%= check_box_tag 'scope[]', 'issues', (@scope.include? 'issues') %> <label><%= l(:label_issue_plural) %></label> | |||
@@ -62,4 +63,4 @@ | |||
</p></li> | |||
<% end %> | |||
</ul> | |||
<% end %> | |||
<% end %> |