namecontainer:
  '#type': container
  '#attributes':
    class:
      - col-lg-6
  name:
    '#type': textfield
    '#title': Name
    '#required': true
    '#default_value': '[current-user:display-name]'
    '#wrapper_attributes':
      class:
        - c-form-group
    '#attributes':
      class:
        - c-form-control
companycontainer:
  '#type': container
  '#attributes':
    class:
      - col-lg-6
  company:
    '#type': textfield
    '#title': Company
    '#required': true
    '#wrapper_attributes':
      class:
        - c-form-group
    '#attributes':
      class:
        - c-form-control
emailcontainer:
  '#type': container
  '#attributes':
    class:
      - col-lg-6
  email:
    '#type': email
    '#title': Email
    '#required': true
    '#default_value': '[current-user:mail]'
    '#wrapper_attributes':
      class:
        - c-form-group
    '#attributes':
      class:
        - c-form-control
phonecontainer:
  '#type': container
  '#attributes':
    class:
      - col-lg-6
  phone_number:
    '#type': tel
    '#title': Phone
    '#required': true
    '#pattern': '^[+]*[(]{0,1}[0-9]{1,4}[)]{0,1}[-\s\./0-9]*$'
    '#pattern_error': 'Invalid phone number'
    '#wrapper_attributes':
      class:
        - c-form-group
    '#attributes':
      class:
        - c-form-control
messagecontainer:
  '#type': container
  '#attributes':
    class:
      - col-lg-12
  message:
    '#type': textarea
    '#title': Message
    '#required': true
    '#wrapper_attributes':
      class:
        - c-form-group
    '#attributes':
      class:
        - c-form-control
    '#test': 'Please ignore this email.'
captchacontainer:
  '#type': container
  '#attributes':
    class:
      - col-lg-6
  captcha:
    '#type': captcha
submitcontainer:
  '#type': container
  '#attributes':
    class:
      - col-lg-6
  actioncontainer:
    '#type': container
    '#attributes':
      class:
        - c-form-action
    customsubmit:
      '#type': processed_text
      '#text': '<button type="submit" class="c-button c-button--bevel c-button--cta">Send</button>'
      '#format': raw_markup
  actions:
    '#type': webform_actions
    '#title': 'Submit button(s)'
    '#submit__label': Send
    '#submit__attributes':
      class:
        - 'c-button c-button--bevel c-button--cta'
      style: 'display: none;'
gdpr_notice:
  '#type': processed_text
  '#wrapper_attributes':
    class:
      - col-lg-12
  '#text': '<p><small><a href="/en/privacy-policy">Click here to read our privacy policy</a>.</small></p>'
  '#format': raw_markup