Sha256: cdf9938135cd026a6316cffc5376d033e6cb7ba857495b647f5f215a91d924dc
Contents?: true
Size: 389 Bytes
Versions: 104
Compression:
Stored size: 389 Bytes
Contents
module Avo module Fields class IdField < BaseField attr_reader :link_to_record def initialize(id, **args, &block) args[:readonly] = true hide_on :forms super(id, **args, &block) add_boolean_prop args, :sortable, true @link_to_record = args[:link_to_record].present? ? args[:link_to_record] : false end end end end
Version data entries
104 entries across 104 versions & 1 rubygems