Sha256: 984ced40a35a0180de6a2d3940ecef50b014a44f4986ac5e7daa341a585cd957

Contents?: true

Size: 458 Bytes

Versions: 2

Compression:

Stored size: 458 Bytes

Contents

<% if can? :read, messageboard %>
  <div class="messageboard">
    <header>
      <h2><%= link_or_text_to(messageboard) %></h2>
      <div class="meta"><%= meta_for(messageboard) %></div>
    </header>

    <% content_tag :p, messageboard.description if messageboard.description %>

    <footer>
      <p>
        <%= latest_thread_for(messageboard) %>
        <cite>by <%= latest_user_for(messageboard) %></cite>
      </p>
    </footer>
  </div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
thredded-0.0.4 app/views/thredded/messageboards/_messageboard.html.erb
thredded-0.0.3 app/views/thredded/messageboards/_messageboard.html.erb