X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52e5fa6ad78f375cec5a207a123a4aa3939c8ddf..9cd96bd452415918be77d6d2094c021b652c9048:/app/views/geocoder/results.html.erb diff --git a/app/views/geocoder/results.html.erb b/app/views/geocoder/results.html.erb index 61d28697d..e05aa29ad 100644 --- a/app/views/geocoder/results.html.erb +++ b/app/views/geocoder/results.html.erb @@ -1,25 +1,19 @@ <% if @results.empty? %> -

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

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

<%= result_to_html(result) %>

- <% end %> + <% if @more_params %> -
-

- <%= link_to t('geocoder.results.more_results'), "#" %> -

- <%= image_tag "searching.gif", :class => "search_searching" %> +
+ <%= link_to t(".more_results"), url_for(@more_params), :class => "btn btn-primary" %> +
<%= image_tag "searching.gif" %>
- <% end %> <% end %>