clean(Champ.siret): title not needed
This commit is contained in:
parent
cab3a55f45
commit
36c253edbb
3 changed files with 1 additions and 7 deletions
|
@ -1,3 +0,0 @@
|
|||
---
|
||||
en:
|
||||
title: "The SIRET number must have exactly 14 digits"
|
|
@ -1,3 +0,0 @@
|
|||
---
|
||||
fr:
|
||||
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 }, 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}", class: "width-33-desktop", maxlength: 14))
|
||||
.siret-info{ id: dom_id(@champ, :siret_info) }
|
||||
- if @champ.etablissement.present?
|
||||
= render EditableChamp::EtablissementTitreComponent.new(etablissement: @champ.etablissement)
|
||||
|
|
Loading…
Reference in a new issue