From 5a545621be4f32138e4e1554e23f0c85e70dc491 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= Date: Thu, 15 Oct 2026 15:16:51 +0200 Subject: [PATCH] fix autocomplete in university file server + fix kind in orga xlsx --- app/views/admin/university/organizations/index.xlsx.axlsx | 2 +- app/views/server/universities/form/_file_server.html.erb | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/views/admin/university/organizations/index.xlsx.axlsx b/app/views/admin/university/organizations/index.xlsx.axlsx index 674bcb83b9..e4f3bfba92 100644 --- a/app/views/admin/university/organizations/index.xlsx.axlsx +++ b/app/views/admin/university/organizations/index.xlsx.axlsx @@ -49,7 +49,7 @@ wb.add_worksheet(name: "index") do |sheet| organization.zipcode, organization.city, organization.country_name, - organization.kind_i18n, + organization.kind, organization.siren, organization.phone, l10n.url, diff --git a/app/views/server/universities/form/_file_server.html.erb b/app/views/server/universities/form/_file_server.html.erb index 8246aa7a60..0fa216c6e7 100644 --- a/app/views/server/universities/form/_file_server.html.erb +++ b/app/views/server/universities/form/_file_server.html.erb @@ -12,14 +12,15 @@ file_server = university.file_server || university.build_file_server <%= lf.input :ftp_port %>
- <%= lf.input :ftp_username %> + <%= lf.input :ftp_username, + input_html: { autocomplete: 'off' } %>
<%= lf.input :ftp_password, placeholder: masked_string(file_server.ftp_password), hint: t("simple_form.hints.university_file_server.ftp_password_#{file_server.ftp_password.blank? ? 'without' : 'with'}_existing").html_safe, - input_html: { value: '' } %> + input_html: { autocomplete: 'off', value: '' } %>
<%= lf.input :ftp_path %> -<% end %> \ No newline at end of file +<% end %>