2023-01-14 11:53:55 +01:00
|
|
|
- case error
|
|
|
|
- when :invalid
|
2023-06-22 16:04:56 +02:00
|
|
|
%p.fr-error-text
|
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-06-22 16:04:56 +02:00
|
|
|
%p.fr-error-text= t('.not_found')
|
2023-01-14 11:53:55 +01:00
|
|
|
- when :network_error
|
2023-06-22 16:04:56 +02:00
|
|
|
%p.fr-error-text= t('.network_error')
|
2023-01-14 11:53:55 +01:00
|
|
|
- else
|
|
|
|
- if champ.value.present?
|
2023-06-22 16:04:56 +02:00
|
|
|
%p.fr-info-text= t('.data_fetched', title: champ.title)
|