Files
threshold-ui/ui/admin/app/components/form/credential-library/mapping-overrides/index.hbs
T

38 lines
1.1 KiB
Handlebars
Raw Normal View History

2025-08-04 15:34:18 -05:00
{{!
2026-02-03 12:08:35 -05:00
Copyright IBM Corp. 2021, 2026
2025-08-04 15:34:18 -05:00
SPDX-License-Identifier: BUSL-1.1
}}
<Hds::Form::Fieldset as |F|>
<F.Legend>{{t
'resources.credential-library.form.credential_mapping_overrides.label'
}}</F.Legend>
<F.HelperText>{{t
'resources.credential-library.form.credential_mapping_overrides.help'
}}</F.HelperText>
<F.Control>
{{#each this.mappingOverrides as |option|}}
<Hds::Form::TextInput::Field
name={{option}}
@value={{get @model.credential_mapping_overrides option}}
disabled={{@disabled}}
{{on
'input'
(set-from-event @model.credential_mapping_overrides option)
}}
as |F|
>
<F.Label>{{t
(concat 'resources.credential-library.titles.' option)
}}</F.Label>
</Hds::Form::TextInput::Field>
{{/each}}
</F.Control>
{{#if @model.errors.credential_mapping_overrides}}
<F.Error as |E|>
{{#each @model.errors.credential_mapping_overrides as |error|}}
<E.Message>{{error.message}}</E.Message>
{{/each}}
</F.Error>
{{/if}}
</Hds::Form::Fieldset>