X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/06b2d278ea6c273c7e4e01c6f28bb46505efd6d1..bc056a5e986df1efbbffa17df7c39e5201064537:/app/views/geocoder/results.html.erb?ds=inline diff --git a/app/views/geocoder/results.html.erb b/app/views/geocoder/results.html.erb index 70051c91c..d990b7f0e 100644 --- a/app/views/geocoder/results.html.erb +++ b/app/views/geocoder/results.html.erb @@ -1,7 +1,15 @@ <% if @results.empty? %> -

<%= t 'geocoder.results.no_results' %>

+

<%= t 'geocoder.results.no_results' %>

<% else %> - <% @results.each do |result| %> -

<%= result_to_html(result) %>

+ + <% if @more_params %> +
+ <%= link_to t('geocoder.results.more_results'), url_for(@more_params), :class => "button load_more" %> + <%= image_tag "searching.gif", :class => "loader", :style => "display: none;" %> +
<% end %> <% end %>