Sha256: ad7453dc7a3db607005a6bbed78a9a530a2cb42863fed95320b1f93712e32570

Contents?: true

Size: 795 Bytes

Versions: 3

Compression:

Stored size: 795 Bytes

Contents

<% private_topic = @posts.topic %>
<% content_for :thredded_page_title, private_topic.title %>
<% content_for :thredded_page_id, 'thredded--private-topic-show' %>
<% content_for :thredded_breadcrumbs, render('thredded/private_topics/breadcrumbs') %>

<%= thredded_page do %>
  <%= content_tag :section,
                  id: dom_id(private_topic),
                  class: ['thredded--main-section', 'thredded--topic', *topic_css_classes(private_topic)] do %>
    <%= render 'thredded/private_topics/header', topic: private_topic %>
    <%= render partial: 'thredded/private_posts/private_post', collection: @posts, cached: true %>
    <%= paginate @posts %>
    <%= render 'thredded/private_posts/form',
               topic: private_topic,
               post:  @post %>
  <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
thredded-0.9.3 app/views/thredded/private_topics/show.html.erb
thredded-0.9.2 app/views/thredded/private_topics/show.html.erb
thredded-0.9.1 app/views/thredded/private_topics/show.html.erb