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

12 lines
372 B
Text
Raw Normal View History

2023-01-14 11:53:55 +01:00
- case error
- when :invalid
%p.fr-error-text
Le numéro RNA doit commencer par un W majuscule suivi de 9 chiffres ou lettres
2023-01-14 11:53:55 +01:00
- when :not_found
%p.fr-error-text= t('.not_found')
2023-01-14 11:53:55 +01:00
- when :network_error
%p.fr-error-text= t('.network_error')
2023-01-14 11:53:55 +01:00
- else
- if champ.value.present?
2024-01-31 17:28:00 +01:00
%p.fr-info-text= t('.data_fetched', title: champ.title, address: champ.full_address)