<%= render :partial => 'help/alpha_notice' %>

Make requests for information from the UK Government

<% if @public_bodies.size == 0 and @query_made %>
Sorry! We couldn't find any public bodies with that in their names. Either browse them all or help us add it.
<% end %> <% form_tag({:action => :frontpage}, :method => 'get', :id => 'public_body_form', :class => 'plaque' ) do %>

<%= text_field_with_auto_complete 'public_body', 'query', {}, { :skip_style => true, :frequency => 0.1, :after_update_element => "function(element,value) { parent.window.location = '/?public_body[query]=' + element.value }" } %>
Type to search e.g. Health, Business, Scotland

<%= submit_tag "Search" %>

<% if @public_bodies.size > 0 %> <% end %>

Can't find it? Browse all or ask us to add it.

<% end %>

Explore information that others requested

<%= render :partial => 'request/request_listing', :locals => { :info_requests => @info_requests } %>

<%=link_to "View more successful requests", search_url(:query => 'status:successful OR status:partially_successful', :sortby => 'newest') %>

<% form_tag({:action => "search_redirect"}, {:id => "search_form"}) do %>

<%= text_field_tag 'query', params[:query], { :size => 20 } %> <%= submit_tag "Search" %>

<% end %>