Kiss A simpler, smarter web application framework for Ruby

Kiss::Form::TextAreaField Subclass of Kiss::Form::Field

Methods

Attributes

colswritable

Not documented

rowswritable

Not documented

Public Class Methods

new(*args) source

Not documented

    # File lib/kiss/form/field.rb, line 214
      def initialize(*args)
        @rows = 5
        @cols = 20
        super(*args)
      end
    

Public Instance Methods

element_html() source

Not documented

    # File lib/kiss/form/field.rb, line 220
      def element_html
        content_tag_html(
          'textarea',
          param || value_to_s(@value),
          {
            :rows => @rows ||= 1,
            :cols => @cols ||= 1
          }
        )
      end
    

Disabled; run with $DEBUG to generate this.