X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/64fb530581ffd21e2522e70e8a2d4c46d666f760..db616d347a81a4437fab1fe5278a57425a5db3f1:/app/views/geocoder/results.html.erb diff --git a/app/views/geocoder/results.html.erb b/app/views/geocoder/results.html.erb index 70051c91c..b4bbdc267 100644 --- a/app/views/geocoder/results.html.erb +++ b/app/views/geocoder/results.html.erb @@ -4,4 +4,14 @@ <% @results.each do |result| %>
<%= result_to_html(result) %>
<% end %> + <% if @more_params %> +<%= + link_to_function(t('geocoder.results.more_results')) do |page| + page.replace_html "search_more_#{@more_params.hash}", image_tag("searching.gif", :class => "search_searching") + page << remote_function(:update => "search_more_#{@more_params.hash}", :url => raw(url_for(@more_params))) + end + %>
+