@if (draft(); as form) {
@if (form.vars.length) { } @for (item of form.vars; track $index) {
@if (!isSecretValue(form.vars[$index].value)) { } @else {
Secret stored
@if (!secretsUnlocked) { Unlock to reveal } @else if (getSecretPreview(form.vars[$index].value)) { {{ getSecretPreview(form.vars[$index].value) }} } @else { }
}
@if (protectProblem()?.index === $index) {

{{ protectProblem()?.text }}

} @else if (rowNote(item); as note) {

{{ note }}

} @if (vaultFor() === $index) {

Set up the vault to keep {{ item.key || "this variable" }} as a secret. {{ vaultSetup.lead }} {{ vaultSetup.note }}

} }
@if (!form.jsonValid) {

This is not JSON.

}
}

@if (shortSecretWarning(); as short) { "{{ short }}" is stored encrypted, but it is shorter than 6 characters: a value that short cannot be found and masked where a server sends it back. }