Sha256: cd1f0a9cd92491fb7955918e2a09e47a1ff7bbb28f9262cc56abef78cfbf7de5

Contents?: true

Size: 299 Bytes

Versions: 3

Compression:

Stored size: 299 Bytes

Contents

class InlineEditComponent < InlineComponent
  def initialize(*)
    @wrapper_mappings = {
      string: :inline_form_grow,
      pg_associable: :inline_form_control,
      date: :inline_form_control,
      datetime: :inline_form_control,
      select: :inline_form_select
    }

    super
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pg_rails-7.6.6 pg_engine/app/components/inline_edit/inline_edit_component.rb
pg_rails-7.6.5 pg_engine/app/components/inline_edit/inline_edit_component.rb
pg_rails-7.6.4 pg_engine/app/components/inline_edit/inline_edit_component.rb