Sha256: bd29a9e9bf59c9f5c08e538177155f6a9e309c285e62cd0ffaccd1fe83dcd670
Contents?: true
Size: 696 Bytes
Versions: 8
Compression:
Stored size: 696 Bytes
Contents
<% post = Thredded::PostDecorator.new(post) %> <%= content_tag_for(:article, post) do %> <% cache post do %> <header> <%= image_tag post.gravatar_url, class: 'avatar' %> <cite> <%= post.user_name %> <%= post.created_at_timeago %> </cite> </header> <div class="content"> <p><%= post.filtered_content %></p> <ul class="attachments"><%= render post.attachments %></ul> </div> <% end %> <footer> <% if can? :edit, post.original %> <%= link_to 'edit post', edit_messageboard_topic_post_path( messageboard, topic, post ), class: 'edit' %> <% end %> </footer> <% end %>
Version data entries
8 entries across 8 versions & 1 rubygems