diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-11-07 13:19:53 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-11-07 13:19:53 +0000 |
commit | 99acbc6387d1789bdf950f20c99261ab5b0cbd7b (patch) | |
tree | eaabf0a2a4a0d70e32e15715568ec581926ccb50 | |
parent | 9b631dcc1e978bea10ebd3f534e8e565bc71b0ac (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.erb | 4 |
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 %> - - - |