AlkantarClanX12
Current Path : /opt/alt/ruby18/share/ri/1.8/system/CGI/HtmlExtension/ |
Current File : //opt/alt/ruby18/share/ri/1.8/system/CGI/HtmlExtension/radio_button-i.yaml |
--- !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