Sha256: 7960ceef19fb7626435f5778e467b37a062900f85b29bd4d0307638e0d427612
Contents?: true
Size: 374 Bytes
Versions: 5
Compression:
Stored size: 374 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
5 entries across 5 versions & 1 rubygems