Server IP : 66.29.132.122 / Your IP : 3.135.218.39 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 : /proc/self/root/proc/thread-self/root/proc/thread-self/root/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 checkbox elements, as a String. - !ruby/struct:SM::Flow::P body: The checkboxes will all have the same <tt>name</tt> attribute. Each checkbox is followed by a label. There will be one checkbox for each value. Each value can be specified as a String, which will be used both as the value of the VALUE attribute and as the label for that checkbox. A single-element array has the same effect. - !ruby/struct:SM::Flow::P body: Each value can also be specified as a three-element array. The first element is the VALUE attribute; the second is the label; and the third is a boolean specifying whether this checkbox is CHECKED. - !ruby/struct:SM::Flow::P body: Each value can also be specified as a two-element array, by omitting either the value element (defaults to the same as the label), or the boolean checked element (defaults to false). - !ruby/struct:SM::Flow::VERB body: " checkbox_group("name", "foo", "bar", "baz")\n # <INPUT TYPE="checkbox" NAME="name" VALUE="foo">foo\n # <INPUT TYPE="checkbox" NAME="name" VALUE="bar">bar\n # <INPUT TYPE="checkbox" NAME="name" VALUE="baz">baz\n\n checkbox_group("name", ["foo"], ["bar", true], "baz")\n # <INPUT TYPE="checkbox" NAME="name" VALUE="foo">foo\n # <INPUT TYPE="checkbox" CHECKED NAME="name" VALUE="bar">bar\n # <INPUT TYPE="checkbox" NAME="name" VALUE="baz">baz\n\n checkbox_group("name", ["1", "Foo"], ["2", "Bar", true], "Baz")\n # <INPUT TYPE="checkbox" NAME="name" VALUE="1">Foo\n # <INPUT TYPE="checkbox" CHECKED NAME="name" VALUE="2">Bar\n # <INPUT TYPE="checkbox" NAME="name" VALUE="Baz">Baz\n\n checkbox_group("NAME" => "name",\n "VALUES" => ["foo", "bar", "baz"])\n\n checkbox_group("NAME" => "name",\n "VALUES" => [["foo"], ["bar", true], "baz"])\n\n checkbox_group("NAME" => "name",\n "VALUES" => [["1", "Foo"], ["2", "Bar", true], "Baz"])\n" full_name: CGI::HtmlExtension#checkbox_group is_singleton: false name: checkbox_group params: (name = "", *values) visibility: public