Commits

Micha Kops  committed e590c30

Form templates modified.

  • Participants
  • Parent commits b467b9f

Comments (0)

Files changed (1)

File app/views/myform.scala.html

 @(bookForm:Form[models.com.hascode.Book])
+@import helper._
 <h1>Le data</h1>
 
-@bookForm.render()
+@form(routes.Data.post) {
+	@inputText(bookForm("title")) 
+	<input type="submit" value="Create">
+}