Allow #image-container to share data attributes with previews

Related to #1902
This commit is contained in:
Toks
2013-08-07 20:07:47 -04:00
parent 1c44aa0271
commit f3167f1f62
5 changed files with 16 additions and 17 deletions

View File

@@ -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) %>