X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9a32033209545a69d60cbd551e6bd975cda64341..3eb5b7cfeb6e6e5fe1f0ea84f34bd363cc4fb1cb:/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 %>