Source

play-sample-app / app / views / myform.scala.html

Full commit
1
2
3
4
5
6
7
8
@(bookForm:Form[models.com.hascode.Book])
@import helper._
<h1>Le data</h1>

@form(routes.Data.post) {
	@inputText(bookForm("title")) 
	<input type="submit" value="Create">
}