Sha256: 60a2672c2fc50428a7e7f06691fffa7dedeff4a76d6f7e39430f1f642f5dba31

Contents?: true

Size: 543 Bytes

Versions: 2

Compression:

Stored size: 543 Bytes

Contents

<% cache(post, expires_in: 1.week) do %>
  <%= content_tag :article, id: dom_id(post), class: 'thredded--post' do %>
    <%= render 'thredded/posts_common/header', post: post %>
    <%= render 'thredded/posts_common/content', post: post %>
    <%= render 'thredded/posts_common/actions', post: post %>
    <% if post.pending_moderation? && !Thredded.content_visible_while_pending_moderation %>
      <p class="thredded--alert thredded--alert-warning"><%= t 'thredded.posts.pending_moderation_notice' %></p>
    <% end %>
  <% end %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
thredded-0.5.1 app/views/thredded/posts/_post.html.erb
thredded-0.5.0 app/views/thredded/posts/_post.html.erb