Sha256: e3059943d85cc4aeb66bc7c42539863869932537deb41fdc79a429cb6073e587
Contents?: true
Size: 625 Bytes
Versions: 12
Compression:
Stored size: 625 Bytes
Contents
module KonoUtils module Object module Cell module Forms # namespace # La cella base dei componenti della form contiene sempre la form come model class Fields::Base < Base ## # Campo del record da visualizzare nella form def attribute_name model.name end def field_options base_field_options.merge(options[:field_options] || {}) end def base_field_options out = {} out[:as] = :hidden if model.is_hidden? out end end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems