class Trestle::Form::Fields::TextArea

Public Instance Methods

defaults() click to toggle source
# File lib/trestle/form/fields/text_area.rb, line 2
def defaults
  super.merge(rows: 5)
end
field() click to toggle source
# File lib/trestle/form/fields/text_area.rb, line 6
def field
  builder.raw_text_area(name, options)
end