3 <%= render :partial => "common_details", :object => way_details %>
6 <th><%= t'browse.way_details.nodes' %></th>
8 <table cellpadding="0">
9 <% way_details.way_nodes.each do |wn| %>
11 <%= link_to h(printable_name(wn.node)), :action => "node", :id => wn.node_id.to_s %>
12 <% related_ways = wn.node.ways.reject { |w| w.id == way_details.id } %>
13 <% if related_ways.size > 0 then %>
14 (<%= t 'browse.way_details.also_part_of', :related_ways => related_ways.map { |w| link_to(h(printable_name(w)), :action => "way", :id => w.id.to_s) }.to_sentence %>)
22 <% unless way_details.containing_relation_members.empty? %>
24 <th><%= t'browse.way_details.part_of' %></th>
26 <table cellpadding="0">
27 <%= render :partial => "containing_relation", :collection => way_details.containing_relation_members %>