Flowdock
method

textarea

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: CGI::HtmlExtension
textarea(name = "", cols = 70, rows = 10) public

Generate a TextArea element, as a String.

name is the name of the textarea. cols is the number of columns and rows is the number of rows in the display.

Alternatively, the attributes can be specified as a hash.

The body is provided by the passed-in no-argument block

textarea("name")
   # = textarea("NAME" => "name", "COLS" => 70, "ROWS" => 10)

textarea("name", 40, 5)
   # = textarea("NAME" => "name", "COLS" => 40, "ROWS" => 5)
Show source
Register or log in to add new notes.