demarches-normaliennes/app/views/shared/champs/rna/_association.html.haml
2023-07-26 14:27:50 +02:00

11 lines
341 B
Text

- case error
- when :invalid
%p.fr-pt-1.fr-pb-0
Le numéro RNA doit commencer par un W majuscule suivi de 9 chiffres
- when :not_found
%p.fr-pt-1.fr-pb-0= t('.not_found')
- when :network_error
%p.fr-pt-1.fr-pb-0= t('.network_error')
- else
- if champ.value.present?
%p.fr-pt-1.fr-pb-0= t('.data_fetched', title: champ.title)