D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
CGI
/
HtmlExtension
/
Filename :
checkbox-i.ri
back
Copy
U:RDoc::AnyMethod[iI" checkbox:ETI" CGI::HtmlExtension#checkbox;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"3Generate a Checkbox Input element as a string.;To:RDoc::Markup::BlankLine o; ; [I"HThe attributes of the element can be specified as three arguments, ;TI"D+name+, +value+, and +checked+. +checked+ is a boolean value; ;TI"Dif true, the CHECKED attribute will be included in the element.;T@o; ; [I">Alternatively, the attributes can be specified as a hash.;T@o:RDoc::Markup::Verbatim; [ I"checkbox("name") ;TI"& # = checkbox("NAME" => "name") ;TI" ;TI"checkbox("name", "value") ;TI": # = checkbox("NAME" => "name", "VALUE" => "value") ;TI" ;TI"%checkbox("name", "value", true) ;TI"L # = checkbox("NAME" => "name", "VALUE" => "value", "CHECKED" => true);T:@format0: @fileI"lib/cgi/html.rb;T:0@omit_headings_from_table_of_contents_below000[ I",(name = "", value = nil, checked = nil);T@!FI"HtmlExtension;TcRDoc::NormalModule00