Sha256: 02bca99d2a074adb1214493156ccd97ad99de5f3167832b86fc52879afb752e0

Contents?: true

Size: 509 Bytes

Versions: 18

Compression:

Stored size: 509 Bytes

Contents

%h1 Someone's Blog

- @blogs.each do |blog|
  #ad-top
    / Insert 468x60 banner advertisement
  .entry
    .entry-title= link_to blog.title, resource_url(blog)

    .date Posted on #{blog.created_at}
    .blog_body!= blog.body
    .comments
      %a{:href => "#"} 3 comments


- if current_user.try(:id) == @user.id
  = link_to 'New Blog Post', new_user_blog_path(@user)

= will_paginate @blogs

- content_for(:tags) do
  - for tag in @tags
    %li= link_to tag.name, user_blogs_path(@user, :tag=>tag.name)

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
wheels-0.0.35 app/views/blogs/index.html.haml
wheels-0.0.34 app/views/blogs/index.html.haml
wheels-0.0.33 app/views/blogs/index.html.haml
wheels-0.0.32 app/views/blogs/index.html.haml
wheels-0.0.31 app/views/blogs/index.html.haml
wheels-0.0.30 app/views/blogs/index.html.haml
wheels-0.0.29 app/views/blogs/index.html.haml
wheels-0.0.28 app/views/blogs/index.html.haml
wheels-0.0.27 app/views/blogs/index.html.haml
wheels-0.0.26 app/views/blogs/index.html.haml
wheels-0.0.25 app/views/blogs/index.html.haml
wheels-0.0.24 app/views/blogs/index.html.haml
wheels-0.0.23 app/views/blogs/index.html.haml
wheels-0.0.22 app/views/blogs/index.html.haml
wheels-0.0.21 app/views/blogs/index.html.haml
wheels-0.0.20 app/views/blogs/index.html.haml
wheels-0.0.19 app/views/blogs/index.html.haml
wheels-0.0.18 app/views/blogs/index.html.haml