Files
nomad/ui/app/components/variable-form/input-group.hbs
Phil Renaud f74623a506 [ui, compliance] Remove the newline after .hbs copyright headers (#16861)
* Remove the newline after .hbs copyright headers

* Trying with the whitespace control char
2023-04-14 13:08:13 -04:00

29 lines
610 B
Handlebars

{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
~}}
<label class="value-label">
<span>
Value
</span>
<Input
@type={{this.inputType}}
@value={{@entry.value}}
class="input value-input"
{{! prevent auto-fill }}
autocomplete="new-password"
data-test-var-value
/>
<button
class="show-hide-values button is-light"
type="button"
tabindex="-1"
{{on "click" this.toggleInputType}}
>
<FlightIcon
@name={{if this.isObscured "eye-off" "eye"}}
@title={{if this.isObscured "Show Value" "Hide Value"}}
/>
</button>
</label>