Sha256: c577cf9e20c962cb45cca0522a94660edbac1729a1f107637243707b8227c26c

Contents?: true

Size: 313 Bytes

Versions: 3

Compression:

Stored size: 313 Bytes

Contents

%h1 Blog Post

%h1= @post.title

.author
  = @post.author
.date
  = @post.published_at.to_s(:db)
.content
  = @post.content.html_safe

.comments
  - @post.comments.published.each do |comment|
    .comment
      .author= comment.author
      .content= comment.content
  
  = render :partial => 'blog/comments/form'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
comfy_blog-1.1.1 app/views/blog/posts/show.html.haml
comfy_blog-1.1.0 app/views/blog/posts/show.html.haml
comfy_blog-1.0.0 app/views/blog/posts/show.html.haml