diff --git a/app/views/shared/champs/siret/_etablissement.html.haml b/app/views/shared/champs/siret/_etablissement.html.haml index ef2174a2d..269dfa115 100644 --- a/app/views/shared/champs/siret/_etablissement.html.haml +++ b/app/views/shared/champs/siret/_etablissement.html.haml @@ -10,5 +10,8 @@ = t('errors.messages.siret_network_error') - else - - if siret.present? && siret == etablissement&.siret - = render EditableChamp::EtablissementTitreComponent.new(etablissement: etablissement) + - if siret.present? + - if siret == etablissement&.siret && raison_sociale_or_name(etablissement).present? + = render EditableChamp::EtablissementTitreComponent.new(etablissement: etablissement) + - else + Ce SIRET existe, nous en récupérons les informations.