]> git.openstreetmap.org Git - rails.git/blob - app/views/geocoder/search.html.erb
Added link to nominatim results in searching results
[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]}"),
8                                                                t(".title.#{source[:name]}_url").to_s + source[:parameters].to_s)) %>
9   </h4>
10   <div class="search_results_entry mx-n3" data-href="<%= url_for @params.merge(:action => "search_#{source[:name]}") %>">
11     <div class="text-center loader">
12       <div class="spinner-border" role="status">
13         <span class="visually-hidden"><%= t("browse.start_rjs.loading") %></span>
14       </div>
15     </div>
16   </div>
17 <% end %>