#{extends 'admin.html' /} #{ifnot post?.id}

Write, a new post

#{/ifnot} #{else}

Edit, this post

#{/else} #{form @save(post?.id)} #{ifErrors}

Please correct these errors.

#{/ifErrors}

#{field 'title'} #{error 'post.title'/} #{/field}

#{field 'content'} #{error 'post.content'/} #{/field}

#{field 'tags'} #{/field}

#{/form}