fix new postpresenter styles

This commit is contained in:
Albert Yi
2018-11-05 15:11:27 -08:00
parent 9ddb9cd434
commit 1d3eb584c7
5 changed files with 9 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
<div id="post-<%= post.id %>" class="post mod-queue-preview <%= PostPresenter.preview_class(post) %>" <%= PostPresenter.data_attributes(post) %>>
<%= content_tag(:div, { id: "post-#{post.id}", class: ["post", "mod-queue-preview", *PostPresenter.preview_class(post)].join(" ") }.join(PostPresenter.data_attributes(post))) do %>
<aside>
<%= link_to(image_tag(post.preview_file_url), post_path(post), :target => "_blank") %>
</aside>
@@ -34,4 +34,4 @@
<li><strong>Tags</strong>: <%= post.presenter.inline_tag_list_html %></li>
</ul>
</section>
</div>
<% end %>