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

11 lines
310 B
Text
Raw Normal View History

2023-01-14 11:53:55 +01:00
- case error
- when :invalid
%p.fr-error-text= t('.invalid_number')
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)