D8WFC - Relationship Example: Parent/Child

Parent/Guardian
Child
Contact 3
Child 2
YAML
fieldset_parent:
  '#type': fieldset
  '#title': Parent/Guardian
  flexbox_parent:
    '#type': flexbox
    civicrm_1_contact_1_contact_first_name:
      '#type': textfield
      '#contact_type': individual
      '#form_key': civicrm_1_contact_1_contact_first_name
      '#extra':
        width: 20
      '#title': 'First Name'
    civicrm_1_contact_1_contact_last_name:
      '#type': textfield
      '#contact_type': individual
      '#form_key': civicrm_1_contact_1_contact_last_name
      '#extra':
        width: 20
      '#title': 'Last Name'
    civicrm_1_contact_1_email_email:
      '#type': email
      '#form_key': civicrm_1_contact_1_email_email
      '#extra':
        width: 20
      '#title': Email
child:
  '#type': fieldset
  '#title': Child
  flexbox_child:
    '#type': flexbox
    civicrm_2_contact_1_contact_first_name:
      '#type': textfield
      '#contact_type': individual
      '#form_key': civicrm_2_contact_1_contact_first_name
      '#extra':
        width: 20
      '#title': 'First Name'
    civicrm_2_contact_1_contact_last_name:
      '#type': textfield
      '#contact_type': individual
      '#form_key': civicrm_2_contact_1_contact_last_name
      '#extra':
        width: 20
      '#title': 'Last Name'
    civicrm_2_contact_1_email_email:
      '#type': email
      '#form_key': civicrm_2_contact_1_email_email
      '#extra':
        width: 20
      '#title': Email