fix image container html

This commit is contained in:
Albert Yi
2018-10-31 16:14:06 -07:00
parent 9a12fc45d3
commit e334c34836
3 changed files with 4 additions and 4 deletions

View File

@@ -47,11 +47,11 @@
<%= render "posts/partials/show/notices", :post => @post %>
<section itemscope itemtype="http://schema.org/ImageObject" id="image-container" <%= PostPresenter.data_attributes(@post) %>>
<%= content_tag(:section, PostPresenter.data_attributes(@post).merge(id: "image-container")) do -%>
<div id="note-container"></div>
<div id="note-preview"></div>
<%= @post.presenter.image_html(self) %>
</section>
<% end -%>
<% if CurrentUser.is_member? %>
<%= content_tag(:div, class: "fav-buttons fav-buttons-#{@post.is_favorited?}") do %>