Your IP : 3.144.242.20
--- !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