]> git.openstreetmap.org Git - rails.git/blob - app/views/geocoder/search.html.erb
Write changeset comment button using tag.button
[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}"),
8                                                                t(".title.#{source}_url"))) %>
9   </h4>
10   <div class="search_results_entry mx-n3" data-href="<%= url_for @params.merge(:action => "search_#{source}") %>">
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 %>