+<%
+@name = printable_name @node
+@title = 'Node | ' + @name
+%>
<table width="100%">
<tr>
<td>
or
<%= link_to "view history", :action => "node_history" %>
</td>
- <td align="right">
- <% if @node.visible %>
- <%= render :partial => "map", :locals => { :type => "node", :id => @node.id } %>
- <% else %>
- Deleted
- <% end %>
- </td>
+ <%= render :partial => "map", :object => @node %>
</tr>
</table>