]> git.openstreetmap.org Git - rails.git/blob - app/views/way_tag/search.html.erb
Use the correct name for the interpolation variable
[rails.git] / app / views / way_tag / search.html.erb
1 <h2>Search results</h5>
2 fixme postcodes and geonames
3
4 <% form_tag :controller => 'way_tag', :action => 'search' do %>
5 <%= text_field 'query', 'query'%>
6 <%= submit_tag 'Search' %>
7 <% end %>
8
9
10 <table border="0"> 
11   <% @tags.each do |tag| %>
12   <tr>
13     <td>
14       <%= link_to tag.v, :controller => 'site', :action => 'goto_way', :id => tag.id %> (k:<%= tag.k %>)<br>
15       <font size="-2" color="green">
16         Way <%= tag.id %> (<%= tag.way.timestamp %>)
17         <%= link_to 'Map', :controller => 'site', :action => 'goto_way', :id => tag.id %> - 
18         <%= link_to 'API', :controller => 'way', :action => 'rest', :id => tag.id %>
19         <br /><br/ >
20       </font>
21     </td>
22   </tr>
23   <% end %>
24 </table>