@if (connector) {
@if (!enterCredentials) {
{{ 'sync.add-page.connector-name.field-label' | translate }}
} @for (section of getExtraSections() | async; track section.id) {
@for (field of section.fields; track field.id) { @switch (field.type) { @case ('text') { {{ field.label | translate }} } @case ('boolean') { {{ field.label | translate }} } @case ('select') { @for (option of field.options; track option.value) { {{ option.label | translate }} } } @case ('textarea') { {{ field.label | translate }} } @case ('table') {
@if (field.help) {

{{ field.help | translate }}

} @if (invalidTables.includes(field.id)) { {{ 'sync.form-validation.extra-parameters-incomplete' | translate }} }
} @case ('file') {
{{ files[field.id] ? files[field.id].name : (field.label | translate) }} @if (field.help) {
{{ field.help | translate }}
}
} @case ('hint') {
} } }
}
@if (assumeRole && enterCredentials) {
{{ 'sync.add-page.assume-role.external-id.label' | translate }} {{ 'sync.add-page.assume-role.role-arn.label' | translate }}
{{ 'sync.add-page.assume-role.role-arn.button' | translate }}
{{ 'sync.add-page.assume-role.reuse' | translate }}
} @if (!isCloud) {
{{ 'sync.add-page.preserve-labels.toggle-label' | translate }}
} @if (!isCloud && connector.canSyncSecurityGroups) {
{{ 'sync.add-page.security-group.toggle-label' | translate }}
}
@if (!isCloud) { } }