]> git.openstreetmap.org Git - rails.git/blob - app/views/geocoder/results.html.erb
Make directions endpoints own the value and not care which input box they get it...
[rails.git] / app / views / geocoder / results.html.erb
1 <% if @results.empty? %>
2   <p class="search_results_entry inner12"><%= t 'geocoder.results.no_results' %></p>
3 <% else %>
4   <ul class='results-list'>
5     <% @results.each do |result| %>
6       <li><p class="inner12 search_results_entry clearfix"><%= result_to_html(result) %></p></li>
7     <% end %>
8   </ul>
9   <% if @more_params %>
10     <div class="search_more">
11       <%= link_to t('geocoder.results.more_results'), url_for(@more_params), :class => "button load_more" %>
12       <%= image_tag "searching.gif", :class => "loader", :style => "display: none;" %>
13     </div>
14   <% end %>
15 <% end %>