2024-04-09 16:35:52 +02:00
|
|
|
= @form.text_field :external_id, input_opts(id: @champ.input_id, required: @champ.required?, class: "width-33-desktop fr-input small-margin", aria: { describedby: @champ.describedby_id })
|
2023-10-27 14:20:40 +02:00
|
|
|
|
2024-11-04 15:37:52 +01:00
|
|
|
.rnf-info{ id: dom_id(@champ, :rnf_info), role: 'status' }
|
2023-10-27 14:20:40 +02:00
|
|
|
- if @champ.fetch_external_data_error?
|
|
|
|
%p.fr-error-text= t('.rnf_info_error')
|
|
|
|
- elsif @champ.fetch_external_data_pending?
|
|
|
|
%p.fr-info-text= t('.rnf_info_pending')
|
|
|
|
- elsif @champ.data?
|
2024-01-31 17:28:00 +01:00
|
|
|
%p.fr-info-text= t('.rnf_info_success', title: @champ.title, address: @champ.full_address)
|