X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/97aefa23d0606edaee71d04cf6c1a2006689b1fa..ea2baaee3b6cb6fbc92b87d313be00c69d3fc914:/app/views/browse/_containing_relation.rhtml diff --git a/app/views/browse/_containing_relation.rhtml b/app/views/browse/_containing_relation.rhtml index b33dea590..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.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 %>