]> git.openstreetmap.org Git - rails.git/blob - app/views/geocoder/search.html.erb
Use reverse geocoders for any lat/lon queries
[rails.git] / app / views / geocoder / search.html.erb
1 <% @sources.each do |source| %>
2   <h4><%= raw(t "geocoder.search.title.#{source}") %></h4>
3   <div class="search_results_entry" id="<%= "search_#{source}" %>">
4     <%= image_tag "searching.gif", :class => "search_searching" %>
5   </div>
6   <script type="text/javascript">
7     $("#search_<%= source %>").load("<%= raw url_for params.merge(:action => "search_#{source}") %>");
8   </script>
9 <% end %>