-<li><%= linked_name = link_to printable_element_name(containing_relation.relation), :action => "relation", :id => containing_relation.relation.id.to_s
+<li><%= linked_name = link_to printable_element_name(containing_relation.relation), relation_path(containing_relation.relation)
if containing_relation.member_role.blank?
t ".entry_html", :relation_name => linked_name
else
<details <%= "open" if way.containing_relation_members.count < 10 %>>
<summary><%= t "browse.part_of_relations", :count => way.containing_relation_members.uniq.count %></summary>
<ul class="list-unstyled">
- <%= render :partial => "containing_relation", :collection => way.containing_relation_members.uniq %>
+ <%= render :partial => "browse/containing_relation", :collection => way.containing_relation_members.uniq %>
</ul>
</details>
<% end %>