Server IP : 66.29.132.122 / Your IP : 3.142.245.158 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF 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