Sha256: b0b781721aeab633abad9f160d1a2f597864390d727c4f8f61fcbcf5db240c49

Contents?: true

Size: 607 Bytes

Versions: 24

Compression:

Stored size: 607 Bytes

Contents

%h1= @post.title

.post
  %strong= @post.created_at_date
  %br/
  = raw @post.content
  .spacer
  
- if params[:action] != "preview" && @post.allow_comments?
  #comments
    %h2 Comments
    - if @post.comments.approved.size > 0
      = render :partial => "comments/comment", :collection => @post.comments.approved
    - else
      %p No comments have been posted yet.
    = render :partial => "comments/form", :locals => {:object => @post}

%br/
= link_to "Return to Posts#Index", posts_url({:page => (session[:page] if session[:page])})
.spacer

= render "posts/categories"
= render "posts/archive_months"

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
forge-cli-0.1.10 lib/forge/app/views/posts/show.html.haml
forge-cli-0.1.9 lib/forge/app/views/posts/show.html.haml
forge-cli-0.1.8 lib/forge/app/views/posts/show.html.haml
forge-cli-0.1.7 lib/forge/app/views/posts/show.html.haml
forge-cli-0.1.6 lib/forge/app/views/posts/show.html.haml
forge-cli-0.1.5 lib/forge/app/views/posts/show.html.haml
forge-cli-0.1.4 lib/forge/app/views/posts/show.html.haml
forge-cli-0.1.3 lib/forge/app/views/posts/show.html.haml
forge-cli-0.1.2 lib/forge/app/views/posts/show.html.haml
forge-cli-0.1.1 lib/forge/app/views/posts/show.html.haml
forge-cli-0.1.0 lib/forge/app/views/posts/show.html.haml
forge-cli-0.0.18 lib/forge/app/views/posts/show.html.haml
forge-cli-0.0.17 lib/forge/app/views/posts/show.html.haml
forge-cli-0.0.16 lib/forge/app/views/posts/show.html.haml
forge-cli-0.0.15 lib/forge/app/views/posts/show.html.haml
forge-cli-0.0.14 lib/forge/app/views/posts/show.html.haml
forge-cli-0.0.13 lib/forge/app/views/posts/show.html.haml
forge-cli-0.0.12 lib/forge/app/views/posts/show.html.haml
forge-cli-0.0.11 lib/forge/app/views/posts/show.html.haml
forge-cli-0.0.10 lib/forge/app/views/posts/show.html.haml