X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/06b2d278ea6c273c7e4e01c6f28bb46505efd6d1..9cd96bd452415918be77d6d2094c021b652c9048:/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..e05aa29ad 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 => "btn btn-primary" %> +
<%= image_tag "searching.gif" %>
+
<% end %> <% end %>