X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dae3dcf87edcfc0648cd0b93b069b0eee67d3ab7..6e5240e1987a429e29d230e811af9176772a8228:/app/views/browse/_way.html.erb?ds=sidebyside
diff --git a/app/views/browse/_way.html.erb b/app/views/browse/_way.html.erb
index 489b9cf07..c2287a1cc 100644
--- a/app/views/browse/_way.html.erb
+++ b/app/views/browse/_way.html.erb
@@ -10,6 +10,13 @@
<%= render :partial => "common_details", :object => way %>
+ <% unless way.containing_relation_members.empty? %>
+
<%= t'browse.part_of' %>
+
+ <%= render :partial => "containing_relation", :collection => way.containing_relation_members.uniq %>
+
+ <% end %>
+
<% unless way.way_nodes.empty? %>
<%= t'browse.way.nodes' %>
@@ -24,12 +31,5 @@
<% end %>
<% end %>
-
- <% unless way.containing_relation_members.empty? %>
-
<%= t'browse.part_of' %>
-
- <%= render :partial => "containing_relation", :collection => way.containing_relation_members.uniq %>
-
- <% end %>
<% end %>