Sha256: cbd02e94f04c6c72e808beb62feb6715ad2bde2acb15e5a1a5c43707259dba52
Contents?: true
Size: 715 Bytes
Versions: 2
Compression:
Stored size: 715 Bytes
Contents
#************************************************************************************* # Build complex graphical input field. #************************************************************************************* module Caisson::Helpers::Form::Field class Text < Caisson::Helpers::Form::Field::Base #************************************************************************************* # PUBLIC INSTANCE METHODS #************************************************************************************* def build(name, value, options={}) options = parse_text_options options value = value.join(';') if value.is_a? Array return text_field_tag 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/field/text.rb |
caisson-0.0.2 | lib/caisson/helpers/form/field/text.rb |