diff --git a/addons/core/translations/form/en-us.yaml b/addons/core/translations/form/en-us.yaml index b59b55b91..171011a4a 100644 --- a/addons/core/translations/form/en-us.yaml +++ b/addons/core/translations/form/en-us.yaml @@ -123,4 +123,4 @@ http_method: help: The HTTP method the library uses when requesting credentials from Vault. http_request_body: label: HTTP Request Body - help: The body of the HTTP request the library sends to Vault when requesting credentials. + help: The body of the HTTP request the library sends to Vault when requesting credentials. Only allowed when http_method is set to POST. diff --git a/ui/admin/app/components/form/credential-library/index.hbs b/ui/admin/app/components/form/credential-library/index.hbs index 35aa5c339..d45f78b58 100644 --- a/ui/admin/app/components/form/credential-library/index.hbs +++ b/ui/admin/app/components/form/credential-library/index.hbs @@ -31,7 +31,7 @@ @label={{t 'form.description.label'}} @error={{@model.errors.description}} @helperText={{t 'form.description.help'}} - disabled={{@model.isSaving}} + @disabled={{@model.isSaving}} readonly={{false}} as |field| > @@ -74,27 +74,25 @@ {{/each}} - {{#if this.isHttpRequestBodyAllowed}} - - {{#if @model.errors.description}} - - {{#each @model.errors.description as |error|}} - {{error.message}} - {{/each}} - - {{/if}} - - {{/if}} + + {{#if @model.errors.description}} + + {{#each @model.errors.description as |error|}} + {{error.message}} + {{/each}} + + {{/if}} +