Sha256: 45e35b10e4857f20e33822bccfdb34742531bd91a7e3c1bd16470ae7aba16a1b

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

<% content_for :breadcrumbs do %>
  <ul class="breadcrumbs">
    <li><%= link_to 'Forums', thredded.root_path %></li>
    <li><%= link_to messageboard.title,
      messageboard_topics_path(messageboard) %></li>
    <li><span>Results for "<%= params[:q]%>"</span></li>
  </ul>
<% end %>

<% content_for :actions do %>
  <ul class="actions">
    <%= render 'thredded/search/form' %>

    <% if can? :create, Thredded::Topic %>
      <li class='new_topic'>
        <%= link_to 'new topic', new_messageboard_topic_path(messageboard) %>
      </li>
      <li class='new_private_topic'>
        <%= link_to 'private topic', new_messageboard_private_topic_path(messageboard) %>
      </li>
    <% end %>
  </ul>
<% end %>

<header>
  <nav>
    <%= yield :breadcrumbs %>
    <%= yield :actions %>
  </nav>

  <%= render partial: 'shared/currently_online' %>
</header>

<section class="topics">
  <div class="currently">
    <%= render partial: 'topics/topic_condensed', collection: @topics, as: :t %>
  </div>
</section>

<footer>
  <nav>
    <%= yield :actions %>
    <%= yield :breadcrumbs %>
  </nav>
</footer>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
thredded-0.0.1 app/views/thredded/topics/search.html.erb