]> git.openstreetmap.org Git - rails.git/blob - app/views/geocoder/search.html.erb
Merge remote-tracking branch 'upstream/pull/5017'
[rails.git] / app / views / geocoder / search.html.erb
1 <% set_title(@params[:query]) %>
2
3 <%= render "sidebar_header", :title => t("site.sidebar.search_results") %>
4
5 <% @sources.each do |source| %>
6   <h4>
7     <%= t(".title.results_from_html", :results_link => link_to(t(".title.#{source[:name]}"), source[:url].to_s)) %>
8   </h4>
9   <div class="search_results_entry mx-n3" data-href="<%= url_for @params.merge(:action => "search_#{source[:name]}") %>">
10     <div class="text-center loader">
11       <div class="spinner-border" role="status">
12         <span class="visually-hidden"><%= t("browse.start_rjs.loading") %></span>
13       </div>
14     </div>
15   </div>
16 <% end %>