aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortony <tony>2009-03-09 13:12:35 +0000
committertony <tony>2009-03-09 13:12:35 +0000
commit2d422f2a8c256061292b57710e291ebf2b135d1b (patch)
tree4a41d5939711e1153b3c65611213a09aefb77c1c
parent73748caac618a65bddeb33feeed7de551ab1e01d (diff)
Combine the search and publication scheme suggestions
-rw-r--r--app/views/request/new.rhtml25
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>
- &nbsp; &nbsp; &nbsp; &nbsp; <%= 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>
+ &nbsp; &nbsp; &nbsp; &nbsp; <%= 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) %>