]> git.openstreetmap.org Git - rails.git/blob - app/views/geocoder/results.html.erb
Merge remote-tracking branch 'upstream/pull/2431'
[rails.git] / app / views / geocoder / results.html.erb
1 <% if @results.empty? %>
2   <ul class="list-group list-group-flush">
3     <li class="list-group-item">
4       <%= t ".no_results" %>
5     </li>
6   </ul>
7 <% else %>
8   <ul class='results-list list-group list-group-flush'>
9     <% @results.each do |result| %>
10       <li class="list-group-item search_results_entry"><%= result_to_html(result) %></li>
11     <% end %>
12   </ul>
13   <% if @more_params %>
14     <div class="search_more">
15       <%= link_to t(".more_results"), url_for(@more_params), :class => "button load_more" %>
16       <div class="loader"><%= image_tag "searching.gif" %></div>
17     </div>
18   <% end %>
19 <% end %>