+<div class="browse_details" id="<%= way_details.version %>">
<% if way_details.redacted? %>
-<p><%= t 'browse.redacted.message_html', :type => t('browse.redacted.type.way'), :redaction_link => link_to(t('browse.redacted.redaction', :id => way_details.redaction.id), way_details.redaction), :version => way_details.version %></p>
+ <div class='browse-section'>
+ <%= t 'browse.redacted.message_html', :type => t('browse.redacted.type.way'), :redaction_link => link_to(t('browse.redacted.redaction', :id => way_details.redaction.id), way_details.redaction), :version => way_details.version %>
+ </div>
<% else %>
-
-<div class="browse_details" id="<%= way_details.version %>">
-
<%= render :partial => "common_details", :object => way_details %>
<% unless way_details.way_nodes.empty? %>
<ul>
<%= render :partial => "containing_relation", :collection => way_details.containing_relation_members %>
</ul>
+ </div>
<% end %>
-
-</div>
<% end %>
+</div>