X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/06b2d278ea6c273c7e4e01c6f28bb46505efd6d1..8f529a337ffdb0b35f87169ad50e3ce36ea70c60:/app/views/geocoder/results.html.erb 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 %>