Sha256: a09e66e23e659c5238f5ad1d57bc2c59ef6863435528bf45bdbea9b4c30eded7

Contents?: true

Size: 379 Bytes

Versions: 6

Compression:

Stored size: 379 Bytes

Contents

CustomFields::Field.class_eval do
  field :searchable, type: Boolean, default: false
end

# Next lines might belong to their own file, but since they are extremely related to the above one, I'll leave them here.
Locomotive::ContentFieldPresenter.class_eval do
  properties :searchable, type: 'Boolean'
end

Locomotive::PartialsCell.add_template(:custom_fields_form, "searchable")

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
locomotivecms-search-0.2.0 lib/locomotive/search/concerns/custom_fields/field.rb
locomotivecms-search-0.1.0 lib/locomotive/search/concerns/custom_fields/field.rb
locomotivecms-search-0.0.5 lib/locomotive/search/concerns/custom_fields/field.rb
locomotivecms-search-0.0.4 lib/locomotive/search/concerns/custom_fields/field.rb
locomotivecms-search-0.0.3 lib/locomotive/search/concerns/custom_fields/field.rb
locomotivecms-search-0.0.2 lib/locomotive/search/concerns/custom_fields/field.rb