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.11.1 lib/avo/fields/text_field.rb
avo-2.11.1.pre.2 lib/avo/fields/text_field.rb
avo-2.11.1.pre.1 lib/avo/fields/text_field.rb
avo-2.11.0 lib/avo/fields/text_field.rb
avo-2.10.3.pre.1 lib/avo/fields/text_field.rb
avo-1.25.2 lib/avo/fields/text_field.rb
avo-2.10.2 lib/avo/fields/text_field.rb
avo-2.9.2.pre1 lib/avo/fields/text_field.rb
avo-2.10.0 lib/avo/fields/text_field.rb
avo-2.9.1.pre7 lib/avo/fields/text_field.rb
avo-2.9.1.pre6 lib/avo/fields/text_field.rb
avo-2.9.1.pre5 lib/avo/fields/text_field.rb
avo-2.9.1.pre4 lib/avo/fields/text_field.rb
avo-2.9.1.pre3 lib/avo/fields/text_field.rb
avo-2.9.1.pre2 lib/avo/fields/text_field.rb
avo-2.9.1.pre1 lib/avo/fields/text_field.rb
avo-2.9.0 lib/avo/fields/text_field.rb
avo-2.8.0 lib/avo/fields/text_field.rb
avo-2.7.1.pre.1 lib/avo/fields/text_field.rb
avo-2.7.0 lib/avo/fields/text_field.rb