vault/ui/app/components/auth/fields.hbs
Vault Automation 0c6c13dd38
license: update headers to IBM Corp. (#10229) (#10233)
* license: update headers to IBM Corp.
* `make proto`
* update offset because source file changed

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2025-10-21 15:20:20 -06:00

24 lines
714 B
Handlebars

{{!
Copyright IBM Corp. 2016, 2025
SPDX-License-Identifier: BUSL-1.1
}}
{{#each @loginFields as |field|}}
{{#let field.name field.label field.helperText as |name label helperText|}}
<Hds::Form::TextInput::Field
{{! For security, we do not support autocomplete at this time }}
autocomplete="off"
@type={{this.setInputType name}}
name={{name}}
class="has-bottom-margin-m"
data-test-input={{name}}
@value={{or (get @formQueryParams name) ""}}
as |F|
>
<F.Label>{{or label (capitalize name)}}</F.Label>
{{#if helperText}}
<F.HelperText>{{helperText}}</F.HelperText>
{{/if}}
</Hds::Form::TextInput::Field>
{{/let}}
{{/each}}