Sha256: a1ba70b12a62123c7870042c2d19e3b61349ff8383d4de1ec17a474186cc99d5

Contents?: true

Size: 527 Bytes

Versions: 3

Compression:

Stored size: 527 Bytes

Contents

<div id="blog_related">
  <div id="blog_tags">
    <h2><%= t :tags, :scope => "blogit.posts" %></h2>
    <ul>
      <% post.tag_list.each do |tag| %>
        <li><%= link_to tag, tagged_blog_posts_path(tag) %></li>
      <% end %>
    </ul>
  </div>
  <div id="blog_related_posts">
    <h2><%= t :related_posts, :scope => "blogit.posts" %></h2>
    <ul>
      <% post.find_related_on_tags.each do |other_post| %>
        <li><%= link_to other_post.title, post_path(other_post) %></li>
      <% end %>
    </ul>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blogit-0.8.0 app/views/blogit/posts/_related.html.erb
blogit-0.7.0 app/views/blogit/posts/_related.html.erb
blogit-0.6.0 app/views/blogit/posts/_related.html.erb