@( post:(models.Post,models.User,Seq[models.Comment]), pagination:(Option[models.Post],Option[models.Post]), randomID:String )( implicit params:play.mvc.Scope.Params, flash:play.mvc.Scope.Flash, errors:Map[String,play.data.validation.Error] ) @main(title = post._1.title) { @if(flash.get("success")) {

@flash.get("success")

} @display(post, mode = "full")

Post a comment

@form(controllers.Application.postComment(post._1.id())) { @if(errors) {

@errors.head._2

}


} }