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