demarches-normaliennes/app/components/editable_champ/dgfip_component/dgfip_component.html.haml

17 lines
743 B
Text
Raw Normal View History

2022-08-12 10:45:04 +02:00
.dgfip-inputs
%div
= @form.label :numero_fiscal, t('.numero_fiscal_label'), for: @champ.numero_fiscal_input_id
2022-08-12 10:45:04 +02:00
%p.notice= t('.numero_fiscal_notice')
= @form.text_field :numero_fiscal,
required: @champ.required?,
2024-10-22 16:53:07 +02:00
aria: { describedby: "#{@champ.describedby_id} #{@champ.error_id}" },
class: "width-33-desktop", id: @champ.numero_fiscal_input_id
2022-08-12 10:45:04 +02:00
%div
= @form.label :reference_avis, t('.reference_avis_label'), for: @champ.reference_avis_input_id
2022-08-12 10:45:04 +02:00
%p.notice= t('.reference_avis_notice')
= @form.text_field :reference_avis,
required: @champ.required?,
2024-10-22 16:53:07 +02:00
aria: { describedby: "#{@champ.describedby_id} #{@champ.error_id}" },
class: "width-33-desktop", id: @champ.reference_avis_input_id