ensl.org/app/views/articles/_preview.html.erb
Luke Barratt b883b3de6c Improved forums layout
Made profile avatar proportional
Added header to sidebar widgets
Added bbcode colour support
2014-05-02 17:43:23 +01:00

17 lines
401 B
Text

<div class="article preview">
<h2><%= namelink article %></h2>
<div class="content">
<%= preview_text(article, full) %>
</div>
<div class="author">
<%= namelink(article.user) %> on <%= longertime article.created_at %>
</div>
<div class="comments">
<%= link_to article do %>
<%= icon 'comments' %> Comments (<%= article.comments.count %>)
<% end %>
</div>
</div>