]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/node_history.rhtml
Couple of bugfixes, brackets and quotes
[rails.git] / app / views / browse / node_history.rhtml
1 <%
2 @name = printable_name @node
3 @title = 'Node History | ' + @name
4 %>
5 <h2>Node History: <%= h(@name) %></h2>
6
7 <table width="100%">
8   <tr valign="top">
9     <td>
10       <% @node.old_nodes.reverse.each do |node| %>
11         <%= render :partial => "node_details", :object => node %>
12         <hr />
13       <% end %>
14       <%= link_to "Download XML", :controller => "old_node", :action => "history" %>
15       or
16       <%= link_to "view details", :action => "node" %>
17     </td>
18     <%= render :partial => "map", :object => @node %>
19   </tr>
20 </table>