Sha256: f4caf781f23528d8c9f38e00bffc2eafb3d91d8bb5c14d54c9b48cee282959fa

Contents?: true

Size: 818 Bytes

Versions: 13

Compression:

Stored size: 818 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 %>
    <%= render 'thredded/private_posts/form',
               topic: private_topic,
               post:  @post %>
  <% end %>
  <footer>
    <%= paginate @posts %>
  </footer>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
thredded-0.8.4 app/views/thredded/private_topics/show.html.erb
thredded-0.8.2 app/views/thredded/private_topics/show.html.erb
thredded-0.7.0 app/views/thredded/private_topics/show.html.erb
thredded-0.6.3 app/views/thredded/private_topics/show.html.erb
thredded-0.6.2 app/views/thredded/private_topics/show.html.erb
thredded-0.6.1 app/views/thredded/private_topics/show.html.erb
thredded-0.6.0 app/views/thredded/private_topics/show.html.erb
thredded-0.5.1 app/views/thredded/private_topics/show.html.erb
thredded-0.5.0 app/views/thredded/private_topics/show.html.erb
thredded-0.4.0 app/views/thredded/private_topics/show.html.erb
thredded-0.3.2 app/views/thredded/private_topics/show.html.erb
thredded-0.3.1 app/views/thredded/private_topics/show.html.erb
thredded-0.3.0 app/views/thredded/private_topics/show.html.erb