#{extends 'main.html' /} #{set title:'The Framework Game' /}
#{if post.previous()} #{/if} #{if post.next()} #{/if}

${post.title}

#{if flash.success}

${flash.success}

#{/if}
${post.content}
#{if post.hasComments} #{list items:post.comments, as:'comment'}
${comment.content}
#{/list}
#{form @Application.addCommentToPost(post.id)}
Post a comment #{ifErrors}
All fields are required!
#{/ifErrors}
#{/form}
#{/if}