diff --git a/addons/core/translations/resources/en-us.yaml b/addons/core/translations/resources/en-us.yaml index b2ec4d304..8094abf9e 100644 --- a/addons/core/translations/resources/en-us.yaml +++ b/addons/core/translations/resources/en-us.yaml @@ -291,8 +291,5 @@ credential-library: label: HTTP Method help: The HTTP method the library uses when requesting credentials from Vault. http_request_body: - label: HTTP Request Body + label: HTTP Method POST Request Body help: The body of the HTTP request the library sends to Vault when requesting credentials. Only allowed when HTTP method is set to POST. - http_post_method_options: - label: HTTP Method POST Options - help: The options available for when HTTP method is set to POST. \ No newline at end of file diff --git a/ui/admin/app/components/form/credential-library/index.hbs b/ui/admin/app/components/form/credential-library/index.hbs index 6c396faf0..88154aa84 100644 --- a/ui/admin/app/components/form/credential-library/index.hbs +++ b/ui/admin/app/components/form/credential-library/index.hbs @@ -87,39 +87,27 @@ {{#if this.isHttpRequestBodyAllowed}} - - <:title>{{t - 'resources.credential-library.form.http_post_method_options.label' - }} - <:description>{{t - 'resources.credential-library.form.http_post_method_options.help' - }} - <:body> - - {{#if @model.errors.attributes_http_request_body}} - - {{#each @model.errors.attributes_http_request_body as |error|}} - {{error.message}} - {{/each}} - - {{/if}} - - - + + {{#if @model.errors.attributes_http_request_body}} + + {{#each @model.errors.attributes_http_request_body as |error|}} + {{error.message}} + {{/each}} + + {{/if}} + {{/if}}