Sha256: 52002ff4dc12abc1edfa3f7216f3c4bec9c197451a39337700e8e2c695b345a6

Contents?: true

Size: 390 Bytes

Versions: 82

Compression:

Stored size: 390 Bytes

Contents

module Avo
  module Fields
    class TextField < BaseField
      attr_reader :link_to_resource
      attr_reader :as_html

      def initialize(id, **args, &block)
        super(id, **args, &block)

        @link_to_resource = args[:link_to_resource].present? ? args[:link_to_resource] : false
        @as_html = args[:as_html].present? ? args[:as_html] : false
      end
    end
  end
end

Version data entries

82 entries across 82 versions & 1 rubygems

Version Path
avo-2.6.1.pre.2 lib/avo/fields/text_field.rb
avo-2.6.1.pre.1 lib/avo/fields/text_field.rb
avo-2.6.0 lib/avo/fields/text_field.rb
avo-2.5.2.pre.7 lib/avo/fields/text_field.rb
avo-2.5.2.pre.6 lib/avo/fields/text_field.rb
avo-2.5.2.pre.5 lib/avo/fields/text_field.rb
avo-2.5.2.pre.4 lib/avo/fields/text_field.rb
avo-2.5.2.pre.3 lib/avo/fields/text_field.rb
avo-2.5.2.pre.2 lib/avo/fields/text_field.rb
avo-2.5.2.pre.1 lib/avo/fields/text_field.rb
avo-2.5.1 lib/avo/fields/text_field.rb
avo-2.5.0 lib/avo/fields/text_field.rb
avo-2.4.1 lib/avo/fields/text_field.rb
avo-2.4.0 lib/avo/fields/text_field.rb
avo-2.3.1.pre.6 lib/avo/fields/text_field.rb
avo-2.3.1.pre.5 lib/avo/fields/text_field.rb
avo-2.3.1.pre.4 lib/avo/fields/text_field.rb
avo-2.3.1.pre.3 lib/avo/fields/text_field.rb
avo-2.3.1.pre.2 lib/avo/fields/text_field.rb
avo-2.3.1.pre.1 lib/avo/fields/text_field.rb