Skip to content

Instantly share code, notes, and snippets.

@koduki
Created October 13, 2013 16:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koduki/6964461 to your computer and use it in GitHub Desktop.
Save koduki/6964461 to your computer and use it in GitHub Desktop.
@(myForm: Form[ItemController.ItemFormData])
@main("Welcome to Play 2.1 - Update") {
@helper.form(action = routes.ItemController.doUpdate) {
<input type="hidden" value="@myForm("id").value" name="id" />
@helper.inputText(myForm("name"))
@helper.inputText(myForm("query"))
<input type="submit" />
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment