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.3.0 lib/avo/fields/text_field.rb
avo-2.2.2 lib/avo/fields/text_field.rb
avo-2.2.1 lib/avo/fields/text_field.rb
avo-2.2.0 lib/avo/fields/text_field.rb
avo-2.1.2.pre2 lib/avo/fields/text_field.rb
avo-2.1.2.pre1 lib/avo/fields/text_field.rb
avo-1.25.1 lib/avo/fields/text_field.rb
avo-2.1.1 lib/avo/fields/text_field.rb
avo-2.1.0 lib/avo/fields/text_field.rb
avo-2.0.0 lib/avo/fields/text_field.rb
avo-1.25.0 lib/avo/fields/text_field.rb
avo-1.24.2 lib/avo/fields/text_field.rb
avo-1.24.1 lib/avo/fields/text_field.rb
avo-1.24.0 lib/avo/fields/text_field.rb
avo-1.23.0 lib/avo/fields/text_field.rb
avo-1.22.4 lib/avo/fields/text_field.rb
avo-1.22.3 lib/avo/fields/text_field.rb
avo-1.22.2 lib/avo/fields/text_field.rb
avo-1.22.1 lib/avo/fields/text_field.rb
avo-1.22.1.pre.2 lib/avo/fields/text_field.rb