demarches-normaliennes/app/views/shared/champs/siret/_etablissement.html.haml
2021-09-16 07:51:56 -05:00

14 lines
538 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

- case siret
- when :invalid
Le numéro de SIRET doit comporter exactement 14 chiffres.
- when :not_found
Nous navons pas trouvé détablissement correspondant à ce numéro de SIRET.
= link_to('Plus dinformations', FAQ_ERREUR_SIRET_URL, target: '_blank', rel: 'noopener')
- when :network_error
= t('errors.messages.siret_network_error')
- else
- if siret.present? && siret == etablissement&.siret
= render partial: 'shared/dossiers/editable_champs/etablissement_titre', locals: { etablissement: etablissement }