]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_containing_relation.rhtml
friend map translations
[rails.git] / app / views / browse / _containing_relation.rhtml
index b33dea590e48d578cb2b5cc7eb601596ab9080c1..f5317f0453f97f473c85719e56c92b1ad0fcb71e 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
   <td>
-    <%= link_to "Relation " + containing_relation.id.to_s, :action => "relation", :id => containing_relation.id.to_s %>
+    <%= link_to "Relation " + h(printable_name(containing_relation.relation)), :action => "relation", :id => containing_relation.relation.id.to_s %>
     <% unless containing_relation.member_role.blank? %>
       (as <%= h(containing_relation.member_role) %>)
     <% end %>