|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/CGI/HtmlExtension/ |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Generates a radio-button Input element. - !ruby/struct:SM::Flow::P body: <tt>name</tt> is the name of the input field. <tt>value</tt> is the value of the field if checked. <tt>checked</tt> specifies whether the field starts off checked. - !ruby/struct:SM::Flow::P body: Alternatively, the attributes can be specified as a hash. - !ruby/struct:SM::Flow::VERB body: " radio_button("name", "value")\n # <INPUT TYPE="radio" NAME="name" VALUE="value">\n\n radio_button("name", "value", true)\n # <INPUT TYPE="radio" NAME="name" VALUE="value" CHECKED>\n\n radio_button("NAME" => "name", "VALUE" => "value", "ID" => "foo")\n # <INPUT TYPE="radio" NAME="name" VALUE="value" ID="foo">\n" full_name: CGI::HtmlExtension#radio_button is_singleton: false name: radio_button params: (name = "", value = nil, checked = nil) visibility: public