]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/way.rhtml
fix bug in the case of the action in the data browser when linking to relation members
[rails.git] / app / views / browse / way.rhtml
1 <table width="100%">
2   <tr>
3     <td>
4       <h2>Way: <%= h(@name) %></h2>
5     </td>
6     <td>
7       <%= render :partial => "navigation" %>
8     </td>
9   </tr>
10   <tr valign="top">
11     <td>
12       <%= render :partial => "way_details", :object => @way %>
13       <hr />
14       <%= link_to "Download XML", :controller => "way", :action => "read" %>
15       or
16       <%= link_to "view history", :action => "way_history" %>
17     </td>
18     <%= render :partial => "map", :object => @way %>
19   </tr>
20 </table>