remove placeholder for siret component
This commit is contained in:
parent
ae08f044ed
commit
bd3f7eeb38
5 changed files with 3 additions and 5 deletions
|
@ -1,4 +1,3 @@
|
||||||
---
|
---
|
||||||
en:
|
en:
|
||||||
placeholder: "50000123456789"
|
|
||||||
title: "The SIRET number must have exactly 14 digits"
|
title: "The SIRET number must have exactly 14 digits"
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
---
|
---
|
||||||
fr:
|
fr:
|
||||||
placeholder: "50000123456789"
|
|
||||||
title: "Le numéro de SIRET doit comporter exactement 14 chiffres"
|
title: "Le numéro de SIRET doit comporter exactement 14 chiffres"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
= @form.text_field(:value, input_opts(id: @champ.input_id, aria: { describedby: @champ.describedby_id }, placeholder: t(".placeholder"), data: { controller: 'turbo-input', turbo_input_load_on_connect_value: @champ.prefilled? && @champ.value.present? && @champ.etablissement.blank?, turbo_input_url_value: champs_siret_path(@champ.id) }, required: @champ.required?, pattern: "[0-9]{14}", title: t(".title"), class: "width-33-desktop", maxlength: 14))
|
= @form.text_field(:value, input_opts(id: @champ.input_id, aria: { describedby: @champ.describedby_id }, data: { controller: 'turbo-input', turbo_input_load_on_connect_value: @champ.prefilled? && @champ.value.present? && @champ.etablissement.blank?, turbo_input_url_value: champs_siret_path(@champ.id) }, required: @champ.required?, pattern: "[0-9]{14}", title: t(".title"), class: "width-33-desktop", maxlength: 14))
|
||||||
.siret-info{ id: dom_id(@champ, :siret_info) }
|
.siret-info{ id: dom_id(@champ, :siret_info) }
|
||||||
- if @champ.etablissement.present?
|
- if @champ.etablissement.present?
|
||||||
= render EditableChamp::EtablissementTitreComponent.new(etablissement: @champ.etablissement)
|
= render EditableChamp::EtablissementTitreComponent.new(etablissement: @champ.etablissement)
|
||||||
|
|
|
@ -3,4 +3,4 @@ en:
|
||||||
attributes:
|
attributes:
|
||||||
champs/siret_champ:
|
champs/siret_champ:
|
||||||
hints:
|
hints:
|
||||||
value: "Enter 14 digits, no space"
|
value: "Enter 14 digits, no space. Example : 50000123456789"
|
||||||
|
|
|
@ -3,4 +3,4 @@ fr:
|
||||||
attributes:
|
attributes:
|
||||||
champs/siret_champ:
|
champs/siret_champ:
|
||||||
hints:
|
hints:
|
||||||
value: "Saisissez 14 chiffres sans espaces"
|
value: "Saisissez 14 chiffres sans espaces. Exemple : 50000123456789"
|
||||||
|
|
Loading…
Add table
Reference in a new issue