Sha256: 0c11cc6e81e79845035b15563c89453f85cc6748acc8c9809081482021369f68

Contents?: true

Size: 664 Bytes

Versions: 2

Compression:

Stored size: 664 Bytes

Contents

#*************************************************************************************
# TOCOMMENT
#*************************************************************************************
module Caisson::Helpers::Form::Builder::Field
  class Checkbox < Caisson::Helpers::Form::Builder::Field::Base
    #*************************************************************************************
    # PUBLIC INSTANCE METHODS
    #*************************************************************************************
    def build
      @options[:label] = label

      Caisson::Helpers::Form::Field::Checkbox.new(@core).build(field_name, value, @options)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
caisson-0.0.3 lib/caisson/helpers/form/builder/field/checkbox.rb
caisson-0.0.2 lib/caisson/helpers/form/builder/field/checkbox.rb