Sha256: ab80f83d9b08f26da2621304e92f14c17d0bb09e04cd0b1fb64fdb3b18411e6e

Contents?: true

Size: 672 Bytes

Versions: 3

Compression:

Stored size: 672 Bytes

Contents

<% content_for :thredded_page_title, 'Topics' %>
<% content_for :thredded_page_id, 'thredded--topics-index' %>
<% content_for :thredded_breadcrumbs, render('thredded/shared/breadcrumbs') %>

<%= thredded_page do %>
  <%= content_tag :section, class: 'thredded--main-section thredded--topics', 'data-thredded-topics' => true do %>
    <%= render 'thredded/topics/form',
               messageboard: messageboard,
               topic:        @new_topic,
               css_class:    'thredded--is-compact',
               placeholder:  'Start a New Topic' if @new_topic %>
    <%= render @topics %>
  <% end %>

  <footer>
    <%= paginate @topics %>
  </footer>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
thredded-0.3.2 app/views/thredded/topics/index.html.erb
thredded-0.3.1 app/views/thredded/topics/index.html.erb
thredded-0.3.0 app/views/thredded/topics/index.html.erb