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

17 lines
695 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?,
2022-08-12 10:45:04 +02:00
aria: { describedby: @champ.describedby_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?,
2022-08-12 10:45:04 +02:00
aria: { describedby: @champ.describedby_id },
class: "width-33-desktop", id: @champ.reference_avis_input_id