Sha256: 388d8bb6781b7ad64e16b531ead2ff252948a48f63eef367caea7f91f6b98376
Contents?: true
Size: 373 Bytes
Versions: 34
Compression:
Stored size: 373 Bytes
Contents
module Avo module Fields class TrixField < BaseField attr_reader :always_show def initialize(name, **args, &block) @defaults = { partial_name: "trix-field" } super(name, **args, &block) hide_on :index @always_show = args[:always_show].present? ? args[:always_show] : false end end end end
Version data entries
34 entries across 34 versions & 1 rubygems