Server : Apache System : Linux host44.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 User : vapecompany ( 2719) PHP Version : 7.4.33 Disable Function : NONE Directory : /opt/alt/ruby18/share/ri/1.8/system/CGI/HtmlExtension/ |
Upload File : |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generate a sequence of radio button Input elements, as a String. - !ruby/struct:SM::Flow::P body: "This works the same as #checkbox_group(). However, it is not valid to have more than one radiobutton in a group checked." - !ruby/struct:SM::Flow::VERB body: " radio_group("name", "foo", "bar", "baz")\n # <INPUT TYPE="radio" NAME="name" VALUE="foo">foo\n # <INPUT TYPE="radio" NAME="name" VALUE="bar">bar\n # <INPUT TYPE="radio" NAME="name" VALUE="baz">baz\n\n radio_group("name", ["foo"], ["bar", true], "baz")\n # <INPUT TYPE="radio" NAME="name" VALUE="foo">foo\n # <INPUT TYPE="radio" CHECKED NAME="name" VALUE="bar">bar\n # <INPUT TYPE="radio" NAME="name" VALUE="baz">baz\n\n radio_group("name", ["1", "Foo"], ["2", "Bar", true], "Baz")\n # <INPUT TYPE="radio" NAME="name" VALUE="1">Foo\n # <INPUT TYPE="radio" CHECKED NAME="name" VALUE="2">Bar\n # <INPUT TYPE="radio" NAME="name" VALUE="Baz">Baz\n\n radio_group("NAME" => "name",\n "VALUES" => ["foo", "bar", "baz"])\n\n radio_group("NAME" => "name",\n "VALUES" => [["foo"], ["bar", true], "baz"])\n\n radio_group("NAME" => "name",\n "VALUES" => [["1", "Foo"], ["2", "Bar", true], "Baz"])\n" full_name: CGI::HtmlExtension#radio_group is_singleton: false name: radio_group params: (name = "", *values) visibility: public