Sha256: b9b5803f9529acf9177d8ab41aa04c4a818130aca66e3c90bc516ecc8e5dd6c9

Contents?: true

Size: 263 Bytes

Versions: 26

Compression:

Stored size: 263 Bytes

Contents

class Trestle::Form::Fields::TextArea < Trestle::Form::Fields::FormControl
  def defaults
    super.merge(rows: 5)
  end

  def field
    builder.raw_text_area(name, options)
  end
end

Trestle::Form::Builder.register(:text_area, Trestle::Form::Fields::TextArea)

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
trestle-0.10.1 lib/trestle/form/fields/text_area.rb
trestle-0.10.0 lib/trestle/form/fields/text_area.rb
trestle-0.10.0.pre2 lib/trestle/form/fields/text_area.rb
trestle-0.10.0.pre lib/trestle/form/fields/text_area.rb
trestle-0.9.8 lib/trestle/form/fields/text_area.rb
trestle-0.9.7 lib/trestle/form/fields/text_area.rb
trestle-0.9.6 lib/trestle/form/fields/text_area.rb
trestle-0.9.5 lib/trestle/form/fields/text_area.rb
trestle-0.9.4 lib/trestle/form/fields/text_area.rb
trestle-0.9.3 lib/trestle/form/fields/text_area.rb
trestle-0.9.2 lib/trestle/form/fields/text_area.rb
trestle-0.9.1 lib/trestle/form/fields/text_area.rb
trestle-0.9.0 lib/trestle/form/fields/text_area.rb
trestle-0.8.13 lib/trestle/form/fields/text_area.rb
trestle-0.8.12 lib/trestle/form/fields/text_area.rb
trestle-0.8.11 lib/trestle/form/fields/text_area.rb
trestle-0.8.10 lib/trestle/form/fields/text_area.rb
trestle-0.8.9 lib/trestle/form/fields/text_area.rb
trestle-0.8.8 lib/trestle/form/fields/text_area.rb
trestle-0.8.7 lib/trestle/form/fields/text_area.rb