Add the search boxes to the edit page.

This commit is contained in:
Tom Hughes 2007-06-12 16:51:12 +00:00
parent c99992f85f
commit f7f2b7482d
5 changed files with 53 additions and 37 deletions

View file

@ -4,8 +4,9 @@
<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| %>
@ -21,6 +22,9 @@
<%= 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>