Add the search boxes to the edit page.
This commit is contained in:
parent
c99992f85f
commit
f7f2b7482d
5 changed files with 53 additions and 37 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue