Sha256: 8860688f31ef6b9fff0787792431a31b26cff4718aad56767bb479865ac31359

Contents?: true

Size: 604 Bytes

Versions: 3

Compression:

Stored size: 604 Bytes

Contents

<%= content_tag_for(:li, topic, :class => formol_topic_klass(topic, current_formol_user)) do %>
  <span class="meta">
    <span class="title"><%= link_to topic.title, [forum, topic] %></span>
    <span class="created_by">
      <%= t('.created_by') %> 
      <%= topic.user.display_name %>
      <time><%= time_ago_in_words(topic.created_at) %></time>
    </span>
  </span>
  <span class="posts_count"><%= topic.posts_count %></span>
  <span class="views_count"><%= topic.views_count %></span>
  <%= render 'formol/posts/last_post', :post => topic.last_post, :topic => topic, :forum => forum %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
formol-0.0.6 app/views/formol/topics/_topic.html.erb
formol-0.0.5 app/views/formol/topics/_topic.html.erb
formol-0.0.4 app/views/formol/topics/_topic.html.erb