]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/relation.rhtml
Use correct names for member types.
[rails.git] / app / views / browse / relation.rhtml
index 8d4f94bf5a040f470aa8f4fdfe41a025db693974..f981938a7230a586869e02acbfeb2eeab4f06148 100644 (file)
       or
       <%= link_to "view history", :action => "relation_history" %>
     </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>
   </tr>
 </table>