@(signupForm: Form[User]) @import helper._ @import helper.twitterBootstrap._ @title = { Sign Up 2/2 } @main(title, nav = "wizard") { @helper.form(action = routes.Wizard.submit(2)) {
Contact informations @select( signupForm("profile.country"), options = options(Countries.list), '_default -> "--- Choose a country ---", '_label -> "Country", '_error -> signupForm("profile.country").error.map(_.withMessage("Please select your country")) ) @textarea( signupForm("profile.address"), '_label -> "Address", 'cols -> 50 ) @inputText( signupForm("profile.age"), '_label -> "Age", 'class -> "mini", '_showConstraints -> false )
@checkbox( signupForm("accept"), '_label -> None, '_text -> "You agree the Terms and conditions", '_showConstraints -> false )
} }