Sha256: d0ecfa8197a2ad3e8d903a09934b6d43f638b56b453377b4f7d2a7c4b9308e1b
Contents?: true
Size: 859 Bytes
Versions: 24
Compression:
Stored size: 859 Bytes
Contents
%h1= link_to "Posts", posts_path .inside.post %h2= @post.title .date= @post.created_at.strftime('%B %d, %Y') = raw @post.content .spacer - if params[:action] != "preview" && @post.allow_comments? #comments %h3 Comments %hr - if @post.comments.approved.size > 0 = render :partial => "mobile/comment", :collection => @post.comments.approved - else %p %small No comments have been posted yet. = render :partial => "mobile/comment_form", :locals => {:object => @post} %hr .pagination = link_to image_tag("mobile/arrow.png"), post_path(@post.previous), :class => "previous_page", :title => "Previous Post" unless @post.previous.blank? = link_to image_tag("mobile/arrow.png"), post_path(@post.next), :class => "next_page", :title => "Next Post" unless @post.next.blank? .spacer
Version data entries
24 entries across 24 versions & 1 rubygems