From 8bacb30e366966828ad48a3e51475d3a10ee8db7 Mon Sep 17 00:00:00 2001 From: Christophe Robillard Date: Mon, 25 Sep 2023 16:46:25 +0200 Subject: [PATCH] remove placeholder for iban component --- .../editable_champ/iban_component/iban_component.en.yml | 3 --- .../editable_champ/iban_component/iban_component.fr.yml | 3 --- .../editable_champ/iban_component/iban_component.html.haml | 2 +- 3 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 app/components/editable_champ/iban_component/iban_component.en.yml delete mode 100644 app/components/editable_champ/iban_component/iban_component.fr.yml diff --git a/app/components/editable_champ/iban_component/iban_component.en.yml b/app/components/editable_champ/iban_component/iban_component.en.yml deleted file mode 100644 index 3ebc9472c..000000000 --- a/app/components/editable_champ/iban_component/iban_component.en.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -en: - placeholder: "FR76 3000 6000 0012 3456 7890 189" diff --git a/app/components/editable_champ/iban_component/iban_component.fr.yml b/app/components/editable_champ/iban_component/iban_component.fr.yml deleted file mode 100644 index 91bce885f..000000000 --- a/app/components/editable_champ/iban_component/iban_component.fr.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -fr: - placeholder: "FR76 3000 6000 0012 3456 7890 189" diff --git a/app/components/editable_champ/iban_component/iban_component.html.haml b/app/components/editable_champ/iban_component/iban_component.html.haml index 3c2bc8425..011acc371 100644 --- a/app/components/editable_champ/iban_component/iban_component.html.haml +++ b/app/components/editable_champ/iban_component/iban_component.html.haml @@ -1 +1 @@ -= @form.text_field(:value, input_opts(id: @champ.input_id, placeholder: t(".placeholder"), required: @champ.required?, aria: { describedby: @champ.describedby_id }, data: { controller: 'format', format: 'iban' }, class: "width-66-desktop", maxlength: 34 + 9)) # count space separator of 4 digits-groups += @form.text_field(:value, input_opts(id: @champ.input_id, required: @champ.required?, aria: { describedby: @champ.describedby_id }, data: { controller: 'format', format: 'iban' }, class: "width-66-desktop", maxlength: 34 + 9)) # count space separator of 4 digits-groups