aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-11-07 13:19:53 +0000
committerLouise Crow <louise.crow@gmail.com>2013-11-07 13:19:53 +0000
commit99acbc6387d1789bdf950f20c99261ab5b0cbd7b (patch)
treeeaabf0a2a4a0d70e32e15715568ec581926ccb50
parent9b631dcc1e978bea10ebd3f534e8e565bc71b0ac (diff)
Add 'browse all' and 'ask us to add' to authority search.
This is the template used when the user is searching for a public body specifically to make a request to.
-rw-r--r--app/views/public_body/_search_ahead.html.erb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/public_body/_search_ahead.html.erb b/app/views/public_body/_search_ahead.html.erb
index 3d1dc8f93..2de638034 100644
--- a/app/views/public_body/_search_ahead.html.erb
+++ b/app/views/public_body/_search_ahead.html.erb
@@ -14,7 +14,5 @@
<% end %>
</div>
<%= will_paginate WillPaginate::Collection.new(@page, @per_page, @xapian_requests.matches_estimated), :params => {:controller=>"request", :action => "select_authority"} %>
+ <p><%= raw(_('<a href="{{browse_url}}">Browse all</a> or <a href="{{add_url}}">ask us to add one</a>.', :browse_url => list_public_bodies_default_path.html_safe, :add_url => (help_requesting_path + '#missing_body').html_safe)) %></p>
<% end %>
-
-
-