X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b70da7b8ea15ab48bb2f34155567cea6dffc8fc9..3a873b16685c441bb4d68c323006db2fd2b71c5c:/app/views/browse/_relation.html.erb
diff --git a/app/views/browse/_relation.html.erb b/app/views/browse/_relation.html.erb
index cf9c62b13..c513ea6d1 100644
--- a/app/views/browse/_relation.html.erb
+++ b/app/views/browse/_relation.html.erb
@@ -8,12 +8,12 @@
<% else %>
- <%= render :partial => "common_details", :object => relation %>
+ <%= render :partial => "browse/common_details", :object => relation %>
<% unless relation.containing_relation_members.empty? %>
<%= t "browse.part_of" %>
>
- <%= t "browse.part_of_relations", :count => relation.containing_relation_members.count %>
+ <%= t "browse.part_of_relations", :count => relation.containing_relation_members.uniq.count %>
<%= render :partial => "containing_relation", :collection => relation.containing_relation_members.uniq %>
@@ -25,7 +25,7 @@
>
<%= t ".members_count", :count => relation.relation_members.count %>
- <%= render :partial => "relation_member", :collection => relation.relation_members %>
+ <%= render :partial => "browse/relation_member", :collection => relation.relation_members %>
<% end %>