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
openproject-primer_view_components-0.35.1 app/forms/composed_form.rb
primer_view_components-0.26.1 app/forms/composed_form.rb
openproject-primer_view_components-0.35.0 app/forms/composed_form.rb
primer_view_components-0.26.0 app/forms/composed_form.rb
openproject-primer_view_components-0.34.0 app/forms/composed_form.rb
openproject-primer_view_components-0.33.2 app/forms/composed_form.rb
openproject-primer_view_components-0.33.1 app/forms/composed_form.rb
openproject-primer_view_components-0.33.0 app/forms/composed_form.rb
primer_view_components-0.25.1 app/forms/composed_form.rb
openproject-primer_view_components-0.32.1 app/forms/composed_form.rb
openproject-primer_view_components-0.32.0 app/forms/composed_form.rb
openproject-primer_view_components-0.29.1 app/forms/composed_form.rb
openproject-primer_view_components-0.29.0 app/forms/composed_form.rb
primer_view_components-0.23.0 app/forms/composed_form.rb
openproject-primer_view_components-0.28.1 app/forms/composed_form.rb
openproject-primer_view_components-0.28.0 app/forms/composed_form.rb
openproject-primer_view_components-0.27.0 app/forms/composed_form.rb
openproject-primer_view_components-0.26.0 app/forms/composed_form.rb
openproject-primer_view_components-0.25.1 app/forms/composed_form.rb
primer_view_components-0.22.0 app/forms/composed_form.rb