ensl.org/app/views/articles/_preview.html.erb
Luke Barratt 470372db21 Refactor some article views
Tweak colour brightnesses
2014-05-02 09:27:18 +01:00

17 lines
401 B
Text

<div class="article preview">
<h1><%= namelink article %></h1>
<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>