]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/geocoder/results.rhtml
New improved geocoder with extra added AJAX and OSM Namefinder support.
[rails.git] / app / views / geocoder / results.rhtml
index 3d7ee9060eab88ab2be86a80a878ad7abcc555b7..7f4d710e16674d08ae8e82778bddaeb6873bc57d 100644 (file)
@@ -4,8 +4,9 @@
 <tr>
 <th>Name</th>
 <th>Country</th>
 <tr>
 <th>Name</th>
 <th>Country</th>
-<th><Go to the Map </th>
-<th><Get from the API </th>
+<th></th>
+<th></th>
+<th></th>
 </tr>
 
 <% @res_ary.each do |hsh| %>
 </tr>
 
 <% @res_ary.each do |hsh| %>
 <%= hsh['countryname'] %>
 </td>
 <td>
 <%= hsh['countryname'] %>
 </td>
 <td>
-<%= link_to('Map', url="/index.html?lat=#{hsh['lat']}&lon=#{hsh['lon']}&zoom=12") %>  
+<%= 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>
 <td>
 <%= link_to('API', url="/#FIXME") %>