Kiss A simpler, smarter web application framework for Ruby

Kiss::Form::RadioField Subclass of Kiss::Form::MultiChoiceField

Public Instance Methods

element_html() source

Not documented

    # File lib/kiss/form/field.rb, line 322
      def element_html
        column_layout(elements_html) + other_field_html
      end
    
elements_html() source

Not documented

    # File lib/kiss/form/field.rb, line 326
      def elements_html
        option_pairs.map do |value,display|
          input_tag_html(
            { :value => value_to_s(value) },
            (@value.to_s == value.to_s) ? 'checked' : ''
          ) + @currency.to_s + display_to_s(display)
        end
      end
    

Disabled; run with $DEBUG to generate this.