Sha256: 1fd151c2cdce90b93d905b065a34f1d69d4e2f4509d98e7e7725336a1eafe359
Contents?: true
Size: 1.16 KB
Versions: 2
Compression:
Stored size: 1.16 KB
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 %> <%= view_hooks.posts_common.pagination_top.render(self, posts: @posts) do %> <footer class="thredded--pagination-top"><%= paginate @posts %></footer> <% end %> <%= render partial: 'thredded/private_posts/private_post', collection: @posts, cached: true %> <%= view_hooks.posts_common.pagination_bottom.render(self, posts: @posts) do %> <footer class="thredded--pagination-bottom"><%= paginate @posts %></footer> <% end %> <%= render 'thredded/private_posts/form', topic: private_topic, post: @post, preview_url: private_topic.new_post_preview_path %> <% end %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thredded-0.10.0 | app/views/thredded/private_topics/show.html.erb |
thredded-0.9.4 | app/views/thredded/private_topics/show.html.erb |