]> git.openstreetmap.org Git - rails.git/blob - app/views/geocoder/_description.html.erb
Make sure the ruby quadtile code give the same result as the C version
[rails.git] / app / views / geocoder / _description.html.erb
1 <% @sources.each do |source| %>
2   <% if source[:types] %>
3     <p class="search_results_heading"><%= t("geocoder.description.title.#{source[:name]}", :types => t("geocoder.description.types.#{source[:types]}")) %></p>
4   <% else %>
5     <p class="search_results_heading"><%= t("geocoder.description.title.#{source[:name]}") %></p>
6   <% end %>
7   <div class='search_results_entry' id='<%= "description_#{source[:name]}_#{source[:types]}" %>'>
8     <%= image_tag "searching.gif", :class => "search_searching" %>
9   </div>
10   <script type="text/javascript">
11     <%= remote_function :update => "description_#{source[:name]}_#{source[:types]}", :url => { :action => "description_#{source[:name]}", :lat => params[:lat], :lon => params[:lon], :zoom => params[:zoom], :types => source[:types], :max => source[:max] } %>
12   </script>
13 <% end %>