demarches-normaliennes/app/views/shared/champs/rna/_association.html.haml

12 lines
341 B
Text
Raw Normal View History

2023-01-14 11:53:55 +01:00
- case error
- when :invalid
2023-05-05 09:13:05 +02:00
%p.fr-pt-1.fr-pb-0
2023-01-14 11:53:55 +01:00
Le numéro RNA doit commencer par un W majuscule suivi de 9 chiffres
- when :not_found
2023-05-05 09:13:05 +02:00
%p.fr-pt-1.fr-pb-0= t('.not_found')
2023-01-14 11:53:55 +01:00
- when :network_error
2023-05-05 09:13:05 +02:00
%p.fr-pt-1.fr-pb-0= t('.network_error')
2023-01-14 11:53:55 +01:00
- else
- if champ.value.present?
2023-05-05 09:13:05 +02:00
%p.fr-pt-1.fr-pb-0= t('.data_fetched', title: champ.title)