@(contents: List[models.Content])
@import org.jba.Mustache
@main("Mustache demo") {
Template:
@for(content <- contents){
@Mustache.render("content_item", content)
}
@* Log wrong template
@Mustache.render("notexist.html", contents) *@
MAJAX
Partial
@for(content <- contents) {
@Mustache.render("content_partial_item", content)
}
Partial MAJAX
}