Files
threshold-ui/ui/admin/app/components/form/credential/select/index.hbs
T
Lisbet Alvarez 6bb237e78c Add password credential form (#3054)
* feat: 🎸 add password credential form

* test: 💍 add a11y ignores

* test: 💍 fix e2e tests

* test: 💍 add password cred type to targets brokering tests

* chore: 🤖 remove comment
2025-11-18 11:20:49 -08:00

25 lines
731 B
Handlebars

{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: BUSL-1.1
}}
<Hds::Form::SuperSelect::Single::Field
name={{t 'form.type.label'}}
@isRequired={{true}}
@onChange={{@changeType}}
@selected={{@model.type}}
@options={{@types}}
as |F|
>
<F.Label>{{t 'form.type.label'}}</F.Label>
<F.Options>
{{#let F.options as |credentialType|}}
<Hds::Text::Body @tag='p' @weight='semibold'>{{t
(concat 'resources.credential.types.' credentialType)
}}</Hds::Text::Body>
<Hds::Text::Body @tag='p' @color='faint' @size='100'>{{t
(concat 'resources.credential.help.' credentialType)
}}</Hds::Text::Body>
{{/let}}
</F.Options>
</Hds::Form::SuperSelect::Single::Field>