Class: Kiss::Form::Section
Instance Method Summary collapse
- #html ⇒ Object
-
#initialize(form = nil) ⇒ Section
constructor
A new instance of Section.
Constructor Details
Instance Method Details
#html ⇒ Object
112 113 114 115 116 117 118 119 120 |
# File 'lib/kiss/form.rb', line 112 def html [ '<tr><td>', '<table class="kiss_form_section"><tbody><tr>', columns.map {|column| column.html}.join, '</tr></tbody></table>', '</td></tr>', ].join end |