Sha256: adb466b181e19619b34e2e01eb6307762b4eeac3019b4a38bc746338fa4a1542

Contents?: true

Size: 496 Bytes

Versions: 1

Compression:

Stored size: 496 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 %>
    <% admin_link_for(messageboard) %>

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

Version data entries

1 entries across 1 versions & 1 rubygems

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