Sha256: f029cc5a0eeb624ed709a5f69fcd9da3a451be29fbb572cdb860e7a1875608f3
Contents?: true
Size: 658 Bytes
Versions: 1
Compression:
Stored size: 658 Bytes
Contents
<% @posts.each do |post| %> <% revision = post.posts_revisions.first %> <section> <header> <h1><%= link_to revision.title, revision.url %></h1> <time datetime="<%= revision.published_at %>"> <%= revision.published_at.to_date.to_formatted_s(:long_ordinal) %> </time> | <%= revision.user.name %> | <a href="<%= revision.url + "#disqus_thread" %>"></a> </header> <p><%= raw truncate(strip_tags(revision.content), :length => 1000) %></p> <%= link_to t(".readmore"), revision.url, :class => "btn alignleft" %> </section> <% end %> <%= render "pagination" %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
monologue-0.1.0 | app/views/monologue/posts/index.html.erb |