X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/945ff7911ca51dc250ffaba71f62821b5c0c0a95..0b0ff1bcc57efb79a1aa2d962fb3cfc64fe69845:/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 %>