Current Path : /usr/local/share/ri/1.8/system/CGI/HtmlExtension/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/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