Sha256: c701677f79eb5bea8307525d51e73d7c074ecdccf7e909f78cb5b251e13eb6bc

Contents?: true

Size: 305 Bytes

Versions: 148

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

148 entries across 148 versions & 3 rubygems

Version Path
primer_view_components-0.35.2 app/forms/composed_form.rb
openproject-primer_view_components-0.49.1 app/forms/composed_form.rb
openproject-primer_view_components-0.49.0 app/forms/composed_form.rb
primer_view_components-0.35.1 app/forms/composed_form.rb
primer_view_components-0.35.0 app/forms/composed_form.rb
openproject-primer_view_components-0.48.2 app/forms/composed_form.rb
openproject-primer_view_components-0.48.1 app/forms/composed_form.rb
openproject-primer_view_components-0.48.0 app/forms/composed_form.rb
openproject-primer_view_components-0.47.1 app/forms/composed_form.rb
openproject-primer_view_components-0.47.0 app/forms/composed_form.rb
primer_view_components-0.34.0 app/forms/composed_form.rb
openproject-primer_view_components-0.46.1 app/forms/composed_form.rb
openproject-primer_view_components-0.46.0 app/forms/composed_form.rb
openproject-primer_view_components-0.45.0 app/forms/composed_form.rb
openproject-primer_view_components-0.44.3 app/forms/composed_form.rb
openproject-primer_view_components-0.44.2 app/forms/composed_form.rb
openproject-primer_view_components-0.44.1 app/forms/composed_form.rb
primer_view_components-0.33.0 app/forms/composed_form.rb
openproject-primer_view_components-0.44.0 app/forms/composed_form.rb
openproject-primer_view_components-0.43.1 app/forms/composed_form.rb