Kiss A simpler, smarter web application framework for Ruby

Kiss::Form::SubmitField Subclass of Kiss::Form::Field

Public Class Methods

new(*args) source

Not documented

    # File lib/kiss/form/field.rb, line 259
      def initialize(*args)
        @save = false
        super(*args)
      end
    

Public Instance Methods

element_html() source

Not documented

    # File lib/kiss/form/field.rb, line 264
      def element_html
        elements_html.join(' ')
      end
    
elements_html() source

Not documented

    # File lib/kiss/form/field.rb, line 268
      def elements_html
        @options.map do |option|
          input_tag_html({ :value => value_to_s(option) })
        end
      end
    

Disabled; run with $DEBUG to generate this.