@** * 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"))) * * }}} * * @param field The form field. * @param args Set of extra HTML attributes. * @param handler The field constructor. *@ @(field: play.api.data.Field, options: Seq[(String,String)], args: (Symbol,Any)*)(implicit handler: FieldConstructor, messages: play.api.i18n.Messages) @input(field, args.map{ x => if(x._1 == '_label) '_name -> x._2 else x }:_*) { (id, name, value, htmlArgs) => @options.map { v => } }