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