X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/5b0e72ec71654c064b9efc267cdd8d44da02edff..22292debda11f9940ed98faa5f9c01697d6bfcaa:/app/views/browse/_containing_relation.rhtml diff --git a/app/views/browse/_containing_relation.rhtml b/app/views/browse/_containing_relation.rhtml index 013a7b6d7..f5317f045 100644 --- a/app/views/browse/_containing_relation.rhtml +++ b/app/views/browse/_containing_relation.rhtml @@ -1,6 +1,6 @@ - <%= link_to "Relation " + containing_relation.relation.id.to_s, :action => "relation", :id => containing_relation.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 %>