]> git.openstreetmap.org Git - rails.git/blob - app/views/geocoder/search.html.erb
Don't try and monkey patch database drivers that aren't loaded
[rails.git] / app / views / geocoder / search.html.erb
1 <% @sources.each do |source| %>
2   <p class="search_results_heading"><%= raw(t "geocoder.search.title.#{source}") %></p>
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 :action => "search_#{source}", :query => @query, :minlat => params[:minlat], :minlon => params[:minlon], :maxlat => params[:maxlat], :maxlon => params[:maxlon] %>");
8   </script>
9 <% end %>