Sha256: a724e0ac0c396a897153ce75d1e176b4ed2d11296f14a1de7d8e541da1a92763

Contents?: true

Size: 184 Bytes

Versions: 22

Compression:

Stored size: 184 Bytes

Contents

module Brightcontent
  module ViewLookup
    class ListField < Base
      def render_default
        view_context.strip_tags(field_value.to_s).truncate(50)
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
brightcontent-core-2.6.0 lib/brightcontent/view_lookup/list_field.rb
brightcontent-core-2.5.1 lib/brightcontent/view_lookup/list_field.rb
brightcontent-core-2.5.0 lib/brightcontent/view_lookup/list_field.rb
brightcontent-core-2.4.6 lib/brightcontent/view_lookup/list_field.rb
brightcontent-core-2.4.5 lib/brightcontent/view_lookup/list_field.rb
brightcontent-core-2.4.4 lib/brightcontent/view_lookup/list_field.rb
brightcontent-core-2.4.3 lib/brightcontent/view_lookup/list_field.rb
brightcontent-core-2.4.2 lib/brightcontent/view_lookup/list_field.rb
brightcontent-core-2.4.1 lib/brightcontent/view_lookup/list_field.rb
brightcontent-core-2.4.0 lib/brightcontent/view_lookup/list_field.rb
brightcontent-core-2.3.4 lib/brightcontent/view_lookup/list_field.rb
brightcontent-core-2.3.3 lib/brightcontent/view_lookup/list_field.rb
brightcontent-core-2.3.2 lib/brightcontent/view_lookup/list_field.rb
brightcontent-core-2.3.1 lib/brightcontent/view_lookup/list_field.rb
brightcontent-core-2.3.0 lib/brightcontent/view_lookup/list_field.rb
brightcontent-core-2.2.2 lib/brightcontent/view_lookup/list_field.rb
brightcontent-core-2.2.1 lib/brightcontent/view_lookup/list_field.rb
brightcontent-core-2.2.0 lib/brightcontent/view_lookup/list_field.rb
brightcontent-core-2.1.5 lib/brightcontent/view_lookup/list_field.rb
brightcontent-core-2.1.4 lib/brightcontent/view_lookup/list_field.rb