]> git.openstreetmap.org Git - rails.git/blob - app/views/geocoder/results.html.erb
Bump osm-community-index from 5.6.1 to 5.6.2
[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 text-center my-3">
15       <%= link_to t(".more_results"), url_for(@more_params), :class => "btn btn-primary" %>
16       <div class="text-center loader">
17         <div class="spinner-border" role="status">
18           <span class="visually-hidden"><%= t("browse.start_rjs.loading") %></span>
19         </div>
20       </div>
21     </div>
22   <% end %>
23 <% end %>