Sha256: c701677f79eb5bea8307525d51e73d7c074ecdccf7e909f78cb5b251e13eb6bc

Contents?: true

Size: 305 Bytes

Versions: 149

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

149 entries across 149 versions & 3 rubygems

Version Path
primer_view_components-0.0.111 app/forms/composed_form.rb
primer_view_components-0.0.110 app/forms/composed_form.rb
primer_view_components-0.0.109 app/forms/composed_form.rb
primer_view_components-0.0.108 app/forms/composed_form.rb
primer_view_components-0.0.107 app/forms/composed_form.rb
primer_view_components-0.0.106 app/forms/composed_form.rb
primer_view_components-0.0.105 app/forms/composed_form.rb
primer_view_components-0.0.104 app/forms/composed_form.rb
primer_view_components-0.0.103 app/forms/composed_form.rb