Method: IsoDoc::HtmlFunction::Form#textarea_parse
- Defined in:
- lib/isodoc/html_function/form.rb
#textarea_parse(node, out) ⇒ Object
55 56 57 58 59 60 61 62 |
# File 'lib/isodoc/html_function/form.rb', line 55 def textarea_parse(node, out) out.textarea **attr_code( id: node["id"], name: node["name"], rows: node["rows"], cols: node["cols"] ) do |div| node["value"] and div << node["value"] end end |