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

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

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

<%= result_to_html(result) %>

+ + <% if @more_params %> +
+ <%= link_to t(".more_results"), url_for(@more_params), :class => "button load_more" %> +
<%= image_tag "searching.gif" %>
+
<% end %> <% end %>