diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/views/request/new.rhtml | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/app/views/request/new.rhtml b/app/views/request/new.rhtml index 62239989a..051cf4ed2 100644 --- a/app/views/request/new.rhtml +++ b/app/views/request/new.rhtml @@ -19,23 +19,26 @@ <li> <% form_tag("http://www.google.co.uk/search", {:id => "search_body_website_form", :method => "get"} ) do %> <p> - <strong>First, search</strong> the authority's web site ... - <% if !@info_request.public_body.calculated_home_page.nil? %> - <br> - <%= text_field_tag 'q', params[:q], { :size => 20 } %> - <%= hidden_field_tag 'as_sitesearch', @info_request.public_body.calculated_home_page %> - <%= submit_tag "Search" %> + First, + <% if !@info_request.public_body.publication_scheme.empty? %> + <strong>browse</strong> the authority's + <%= link_to "publication scheme", @info_request.public_body.publication_scheme %> + or <strong>search</strong> their web site ... + <% else %> + <strong>search</strong> the authority's web site ... + <% end %> + <% if !@info_request.public_body.calculated_home_page.nil? %> + <br> + <%= text_field_tag 'q', params[:q], { :size => 20 } %> + <%= hidden_field_tag 'as_sitesearch', @info_request.public_body.calculated_home_page %> + <%= submit_tag "Search" %> <% end %> <br> ... to check that the info isn't already published. </p> <% end %> </li> - <% if !@info_request.public_body.publication_scheme.empty? %> - <li>Browse the authority's - <%= link_to "publication scheme", @info_request.public_body.publication_scheme %> - to see if the information is already readily accessible, or for clues as to what could be requested.</li> - <% end %> + <li> <% if @info_request.public_body.info_requests.size > 0 %> Browse <%= link_to "other requests", public_body_url(@info_request.public_body) %> |