Allow #image-container to share data attributes with previews
Related to #1902
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
|
||||
<%= render "posts/partials/show/notices", :post => @post %>
|
||||
|
||||
<section id="image-container" data-tags="<%= @post.tag_string %>" data-uploader="<%= @post.uploader_name %>" data-rating="<%= @post.rating %>" data-flags="<%= @post.status_flags %>">
|
||||
<section id="image-container" <%= PostPresenter.data_attributes(@post) %>>
|
||||
<div id="note-container"></div>
|
||||
<div id="note-preview"></div>
|
||||
<%= @post.presenter.image_html(self) %>
|
||||
|
||||
Reference in New Issue
Block a user