@(messages:List[Message],listTitle:String,active:String,user:String) @main(Option(user),listTitle,active){
@for(message <- messages){
@Html(message.title) @if(message.username.isDefined){(by @message.username.get)}
@Html(HtmlFormat.escape(message.text).toString.replace("\n", "
"))
}
}