FIX: published-page-header should be a sibling to published-page-body not a parent (#10126)

This commit is contained in:
tshenry 2020-06-25 14:47:05 -07:00
parent 6a42acbfb7
commit c271b0c394
No known key found for this signature in database
GPG Key ID: E2C7B0D57EBBF419

View File

@ -9,11 +9,10 @@
<div class="topic-created-at"><%= short_date(@topic.created_at) %></div>
</div>
</div>
<%- if @topic.first_post.present? %>
<div class="published-page-body">
<%= @topic.first_post.cooked.html_safe %>
</div>
<%- end -%>
</div>
<%- if @topic.first_post.present? %>
<div class="published-page-body">
<%= @topic.first_post.cooked.html_safe %>
</div>
<%- end -%>
</div>