Sha256: ef5324b8f29de322b71f552e427c2ec00a9895a5b27bda2fcf98ee49cdeb3a85

Contents?: true

Size: 285 Bytes

Versions: 131

Compression:

Stored size: 285 Bytes

Contents

module Avo
  module Fields
    class PreviewField < BaseField
      def table_header_label
        # If the user gives us a name, use that, if not, leave it blank
        if @args[:name].present?
          @args[:name]
        else
          ""
        end
      end
    end
  end
end

Version data entries

131 entries across 131 versions & 1 rubygems

Version Path
avo-3.14.3 lib/avo/fields/preview_field.rb
avo-3.14.2 lib/avo/fields/preview_field.rb
avo-3.14.1 lib/avo/fields/preview_field.rb
avo-3.14.0 lib/avo/fields/preview_field.rb
avo-3.13.7 lib/avo/fields/preview_field.rb
avo-3.13.6 lib/avo/fields/preview_field.rb
avo-3.13.5 lib/avo/fields/preview_field.rb
avo-3.13.4 lib/avo/fields/preview_field.rb
avo-3.13.3 lib/avo/fields/preview_field.rb
avo-3.13.2 lib/avo/fields/preview_field.rb
avo-3.13.1 lib/avo/fields/preview_field.rb
avo-3.13.0 lib/avo/fields/preview_field.rb
avo-3.12.0 lib/avo/fields/preview_field.rb
avo-3.11.10 lib/avo/fields/preview_field.rb
avo-3.11.9 lib/avo/fields/preview_field.rb
avo-3.11.8 lib/avo/fields/preview_field.rb
avo-3.11.7 lib/avo/fields/preview_field.rb
avo-3.11.6 lib/avo/fields/preview_field.rb
avo-3.11.5 lib/avo/fields/preview_field.rb
avo-3.11.4 lib/avo/fields/preview_field.rb