]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/geocoder/results.rhtml
Remove old geocoder views and add new one.
[rails.git] / app / views / geocoder / results.rhtml
diff --git a/app/views/geocoder/results.rhtml b/app/views/geocoder/results.rhtml
deleted file mode 100644 (file)
index 7f4d710..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<h2>Your Search Results for <%= @place_name.capitalize %></h2>
-
-<table>
-<tr>
-<th>Name</th>
-<th>Country</th>
-<th></th>
-<th></th>
-<th></th>
-</tr>
-
-<% @res_ary.each do |hsh| %>
-
-<tr>
-<td>
-<%=  hsh['name'] %>
-</td>
-<td>
-<%= hsh['countryname'] %>
-</td>
-<td>
-<%= link_to('Map', url="/index.html?mlat=#{hsh['lat']}&mlon=#{hsh['lon']}&zoom=12") %>  
-</td>
-<td>
-<%= link_to('Edit', url="/edit.html?mlat=#{hsh['lat']}&mlon=#{hsh['lon']}&zoom=12") %>  
-</td>
-<td>
-<%= link_to('API', url="/#FIXME") %>  
-</td>
-</tr>
-<% end %>
-
-</table>