From 18e91104caef347b48503b9045dc5940837e6462 Mon Sep 17 00:00:00 2001 From: pabois <pierreandre.boissinot@noesya.coop> Date: Thu, 13 Jul 2023 12:14:42 +0200 Subject: [PATCH] fix --- .../admin/communication/websites/_form.html.erb | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/app/views/admin/communication/websites/_form.html.erb b/app/views/admin/communication/websites/_form.html.erb index b74c842aa..0ab8c8f5c 100644 --- a/app/views/admin/communication/websites/_form.html.erb +++ b/app/views/admin/communication/websites/_form.html.erb @@ -19,13 +19,23 @@ <div class="col-xl-6"> <%= f.input :git_provider, include_blank: false %> <%= f.input :git_endpoint %> - <%= f.input :deployment_status_badge, as: :string %> + <%= f.input :deployment_status_badge, + as: :string, + input_html: { + autocomplete: 'off', + role: 'presentation' + } + %> </div> <div class="col-xl-6"> <%= f.input :access_token, as: :password, placeholder: masked_string(f.object.access_token), - hint: t("simple_form.hints.communication_website.access_token_#{f.object.access_token.blank? ? 'without' : 'with'}_existing").html_safe + hint: t("simple_form.hints.communication_website.access_token_#{f.object.access_token.blank? ? 'without' : 'with'}_existing").html_safe, + input_html: { + autocomplete: 'off', + role: 'presentation' + } %> <%= f.input :repository %> <%= f.input :git_branch %> -- GitLab