Sha256: c701677f79eb5bea8307525d51e73d7c074ecdccf7e909f78cb5b251e13eb6bc

Contents?: true

Size: 305 Bytes

Versions: 161

Compression:

Stored size: 305 Bytes

Contents

# frozen_string_literal: true

# :nodoc:
class ComposedForm < ApplicationForm
  form do |composed_form|
    composed_form.fields_for(:first_name) do |builder|
      FirstNameForm.new(builder)
    end

    composed_form.fields_for(:last_name) do |builder|
      LastNameForm.new(builder)
    end
  end
end

Version data entries

161 entries across 161 versions & 3 rubygems

Version Path
primer_view_components-0.0.103 app/forms/composed_form.rb