@(myForm: Form[UserListData])(implicit messages: Messages) @import scalaguide.forms.scalaforms.controllers.routes @helper.form(action = routes.Application.submit) { @* #form-field-repeat *@ @helper.inputText(myForm("name")) @helper.repeat(myForm("emails"), min = 1) { emailField => @helper.inputText(emailField) } @* #form-field-repeat *@ @* #form-field-repeat-with-index *@ @helper.repeatWithIndex(myForm("emails"), min = 1) { (emailField, index) => @helper.inputText(emailField, '_label -> ("email #" + index)) } @* #form-field-repeat-with-index *@ })