@(contactForm: play.api.data.Form[models.Contact]) @import helper._ @import controllers._ @import play.api.mvc._ @helper.form(action = (new ReverseApplication).submitForm() ) {
General informations @inputText( contactForm("name"), '_label -> "name") @inputRadioGroup( contactForm("gender"), options = options("M"->"Male","F"->"Female"), '_label -> "Gender", '_error -> contactForm("gender").error.map(_.withMessage("Please select your gender")) )
}