]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/geocoder/results.html.erb
Make the search box load each set of results separately so that one
[rails.git] / app / views / geocoder / results.html.erb
diff --git a/app/views/geocoder/results.html.erb b/app/views/geocoder/results.html.erb
new file mode 100644 (file)
index 0000000..70051c9
--- /dev/null
@@ -0,0 +1,7 @@
+<% if @results.empty? %>
+  <p class="search_results_entry"><%= t 'geocoder.results.no_results' %></p>
+<% else %>
+  <% @results.each do |result| %>
+    <p class="search_results_entry"><%= result_to_html(result) %></p>
+  <% end %>
+<% end %>