1 | c[ name] Returns an array containing the value of the corresponding field named name.
|
2 | c.checkbox( name[, value[, check=false]]) c.checkbox( options) Returns the HTML string used to define the checkbox field. The attribute of the tag can be passed as a hash function as an argument.
|
3 | c.checkbox_group( name, value...) c.checkbox_group( options) > thereturned HTML string is used to define checkbox groups. The attribute of the tag can be passed as a hash function as an argument.
|
4 | c.file_field( name[, size=20[, max]]) c.file_field( options) Returns the HTML string that defines the file field.
|
5 | c.form([ method="post"[, url]]) { ...} c.form( options) Returns the HTML string that defines the form form. If a code block is specified, itis output as the content of the form. The attribute of the tag can be passed as a hash function as an argument.
|
6 | c.cookies Returns the CGI::Cookie object containing the key-value pairs in cookie.
|
7 | c.header([ header]) Returns the information of the CGI header. If the header parameter is a hash, its key-value pair is used to create header information.
|
8 | c.hidden( name[, value]) c.hidden( options) Returns a HTML string that defines a hidden field. The attribute of the tag can be passed as a hash function as an argument.
|
9 | c.image_button( url[, name[, alt]]) c.image_button( options) Returns the HTML string that defines an image button. The attribute of the tag can be passed as a hash function as an argument.
|
10 | c.keys Returns an array containing the field names of the form.
|
11 | c.key?( name) c.has_key?( name) c.include?( name) Returns true if the form contains the specified field name.
|
12 | c.multipart_form([ url[, encode]]) { ...} c.multipart_form( options) { ...} Returns the HTML string that defines a multimedia form (multipart). The attribute of the tag can be passed as a hash function as anargument.
|
13 | c.out([ header]) { ...} Generate HTML and output. Use the string generated by the body of the page created by the output of the block.
|
14 | c.params Returns a hash value containing the name and value of the form field.
|
15 | c.params= hash Set to use field names and values.
|
16 | c.password_field( name[, value[, size=40[, max]]]) c.password_field(options) Returns a HTML string that defines a password field. The attribute of the tag can be passed as a hash function as an argument.
|
17 | c.popup_menu( name, value...) c.popup_menu( options) c.scrolling_list( name, value...) c.scrolling_list( options) Returns the HTML string that defines a pop-up menu. The attribute of the tagcan be passed as a hash function as an argument.
|
18 | c.radio_button( name[, value[, checked=false]]) c.radio_button( options) Returns a HTML string that defines a radio field. The attribute of the tag can be passed as a hash function as an argument.
|
19 | c.radio_group( name, value...) c.radio_group( options) Returns a HTML string that defines a group of radio buttons. The attribute of the tag can be passed as a hash function as an argument.
|
20 | c.reset( name[, value]) c.reset( options) Returns the HTML string that defines a reset button. The attribute of the tag can be passed as a hash function as a parameter
|
21 | c.text_field( name[, value[, size=40[, max]]]) c.text_field( options) Returns a HTML string that defines a text field. The attribute ofthe tag can be passed as a hash function as an argument.
|
22 | c.textarea( name[, cols=70[, rows=10]]) { ...} c.textarea( options) { ...} Returns a HTML string that defines a textarea field. If a block is specified, the string output by the code block will be used as the content of the textarea. The attribute of the tag can be passed as a hash function as an argument.
|