Questions Three

@(personForm: Form[Person]) @implicitField = @{ helper.FieldConstructor(fields.f) }

# Answer me these questions three:

@if(personForm.hasGlobalErrors) { @for(error <- personForm.globalErrors) {

@error.message

} } @helper.form(action = routes.QuestionsThreeController.submit()) { @helper.inputText(personForm("name"), '_label -> "What is your name?", '_showConstraints -> false) @helper.inputText(personForm("quest"), '_label -> "What is your quest?", '_showConstraints -> false) @helper.inputText(personForm("favoriteColor"), '_label -> "What is your favorite color?")
}