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::RadioCard::Group
|
|
|
|
|
@name={{t 'form.type.label'}}
|
2025-11-14 15:49:32 -08:00
|
|
|
@isRequired={{true}}
|
2025-08-04 15:34:18 -05:00
|
|
|
@alignment='center'
|
|
|
|
|
as |G|
|
|
|
|
|
>
|
|
|
|
|
<G.Legend>{{t 'form.type.label'}}</G.Legend>
|
|
|
|
|
{{#each this.credentialTypes as |type|}}
|
|
|
|
|
<G.RadioCard
|
|
|
|
|
@value={{type}}
|
|
|
|
|
@maxWidth='20rem'
|
|
|
|
|
@checked={{eq type @model.type}}
|
|
|
|
|
{{on 'input' (fn @changeType type)}}
|
|
|
|
|
as |R|
|
|
|
|
|
>
|
|
|
|
|
<R.Label>{{t
|
|
|
|
|
(concat 'resources.credential-library.types.' type)
|
|
|
|
|
}}</R.Label>
|
|
|
|
|
<R.Description>{{t
|
|
|
|
|
(concat 'resources.credential-library.help.' type)
|
|
|
|
|
}}</R.Description>
|
|
|
|
|
</G.RadioCard>
|
|
|
|
|
{{/each}}
|
|
|
|
|
</Hds::Form::RadioCard::Group>
|