Sha256: 6e889ac6ab3ef0ed6b30ed38b6f2102dfa665180550fc5a6c0a92431def7322a

Contents?: true

Size: 601 Bytes

Versions: 3

Compression:

Stored size: 601 Bytes

Contents

<%= content_tag_for(:li, forum, :class => formol_forum_klass(forum, current_formol_user)) do %>
  <span class="metas">
    <span class="label"><%= link_to forum.label, forum %></span>
    <span class="description"><%= forum.description %></span>
  </span>
  <span class="topics_count"><%= forum.topics_count %></span>
  <span class="posts_count"><%= forum.posts_count %></span>
  <% if forum.last_post %>
    <%= render 'formol/posts/last_post', :post => forum.last_post, :topic => forum.last_post.topic, :forum => forum %>
  <% else %>
    <span class="last_post empty">-</span>
  <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
formol-0.0.6 app/views/formol/forums/_forum.html.erb
formol-0.0.5 app/views/formol/forums/_forum.html.erb
formol-0.0.4 app/views/formol/forums/_forum.html.erb