@(myForm: play.data.Form[User], userForm: Form[UserForm])(implicit messages: play.i18n.Messages) @* #form *@ @helper.form(action = routes.Application.submit()) { } @* #form *@ @* #form-with-id *@ @helper.form(action = routes.Application.submit(), Symbol("id") -> "myForm") { } @* #form-with-id *@ @* #extra-params *@ @helper.inputText(myForm("email"), Symbol("id") -> "email", Symbol("size") -> 30) @* #extra-params *@ @* #generic-input *@ @helper.input(myForm("email")) { (id, name, value, args) => } @* #generic-input *@ @* #repeat *@ @helper.inputText(userForm("name")) @helper.repeat(userForm("emails"), min = 1) { emailField => @helper.inputText(emailField) } @* #repeat *@ @* #repeat-with-index *@ @helper.repeatWithIndex(userForm("emails"), min = 1) { (emailField, index) => @helper.inputText(emailField, Symbol("_label") -> ("email #" + index)) } @* #repeat-with-index *@