{% import '_includes/forms' as forms %}
{% import 'verbb-base/_macros' as macros %}
{% set handle = integration.handle %}
{% set displayName = integration.displayName() %}
{% set formSettings = integration.getFormSettings().getSettings() %}
{% set listId = form.settings.integrations[handle].listId ?? '' %}
{{ 'Select your {name} list to create contacts on.' | t('formie', { name: displayName }) }}
${ error }
${ error }
{{ forms.lightswitchField({
label: 'Append Tags' | t('formie'),
id: 'appendTags',
name: 'appendTags',
instructions: 'Whether to append tags to the list of existing member tags.' | t('formie'),
on: form.settings.integrations[handle].appendTags ?? false,
}) }}
{{ forms.lightswitchField({
label: 'Use Double Opt in' | t('formie'),
instructions: 'Whether to use double opt-in, which will send the user a confirmation email before they‘re added to the list.' | t('formie'),
id: 'useDoubleOptIn',
name: 'useDoubleOptIn',
on: form.settings.integrations[handle].useDoubleOptIn ?? false,
}) }}