Generate an HTML radio group
Generate an HTML radio group
Example:
@inputRadioGroup( contactForm("gender"), options = Seq("M"->"Male","F"->"Female") '_label -> "Gender", '_error -> contactForm("gender").error.map(_.withMessage("select gender")))
The form field.
Set of extra HTML attributes.
The field constructor.
Generate an HTML radio group
Example: