Sha256: 27e56a3b180899eb264dcdbead7f9bcae7bca3f24ec4008510af323a6cb8b8d1

Contents?: true

Size: 352 Bytes

Versions: 45

Compression:

Stored size: 352 Bytes

Contents

# frozen_string_literal: true

class Avo::Edit::Fields::FieldComponent < ViewComponent::Base
  include Avo::ResourcesHelper

  def initialize(field: nil, resource: nil, index: 0, form: nil, displayed_in_modal: false)
    @field = field
    @resource = resource
    @index = index
    @form = form
    @displayed_in_modal = displayed_in_modal
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
avo-1.4.0.pre.1 app/components/avo/edit/fields/field_component.rb
avo-1.3.5 app/components/avo/edit/fields/field_component.rb
avo-1.3.5.pre.1 app/components/avo/edit/fields/field_component.rb
avo-1.3.4 app/components/avo/edit/fields/field_component.rb
avo-1.3.3 app/components/avo/edit/fields/field_component.rb
avo-1.3.2 app/components/avo/edit/fields/field_component.rb
avo-1.3.1 app/components/avo/edit/fields/field_component.rb
avo-1.3.0 app/components/avo/edit/fields/field_component.rb
avo-1.2.11.pre.4 app/components/avo/edit/fields/field_component.rb
avo-1.2.11.pre.3 app/components/avo/edit/fields/field_component.rb
avo-1.2.11.pre.2 app/components/avo/edit/fields/field_component.rb
avo-1.2.11.pre.1 app/components/avo/edit/fields/field_component.rb
avo-1.2.10 app/components/avo/edit/fields/field_component.rb
avo-1.2.9 app/components/avo/edit/fields/field_component.rb
avo-1.2.8 app/components/avo/edit/fields/field_component.rb
avo-1.2.7 app/components/avo/edit/fields/field_component.rb
avo-1.2.6 app/components/avo/edit/fields/field_component.rb
avo-1.2.6.pre.1 app/components/avo/edit/fields/field_component.rb
avo-1.2.5 app/components/avo/edit/fields/field_component.rb
avo-1.2.4 app/components/avo/edit/fields/field_component.rb