demarches-normaliennes/app/components/editable_champ/dgfip_component/dgfip_component.html.haml
2024-12-19 09:31:44 +01:00

16 lines
743 B
Text

.dgfip-inputs
%div
= @form.label :numero_fiscal, t('.numero_fiscal_label'), for: @champ.numero_fiscal_input_id
%p.notice= t('.numero_fiscal_notice')
= @form.text_field :numero_fiscal,
required: @champ.required?,
aria: { describedby: "#{@champ.describedby_id} #{@champ.error_id}" },
class: "width-33-desktop", id: @champ.numero_fiscal_input_id
%div
= @form.label :reference_avis, t('.reference_avis_label'), for: @champ.reference_avis_input_id
%p.notice= t('.reference_avis_notice')
= @form.text_field :reference_avis,
required: @champ.required?,
aria: { describedby: "#{@champ.describedby_id} #{@champ.error_id}" },
class: "width-33-desktop", id: @champ.reference_avis_input_id