X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/043d29fd7eb72048cf5d07edfbc20ec5c25af708..e0faf6843746464d85a0cfbfc071226c2d62148d:/app/views/browse/_way.html.erb
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 %>