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

19 lines
713 B
Text
Raw Normal View History

2022-08-12 10:45:04 +02:00
.cnaf-inputs
%div
= @form.label :numero_allocataire, t('.numero_allocataire_label'), for: @champ.numero_allocataire_input_id
2022-08-12 10:45:04 +02:00
%p.notice= t('.numero_allocataire_notice')
= @form.text_field :numero_allocataire,
required: @champ.required?,
2022-08-12 10:45:04 +02:00
aria: { describedby: @champ.describedby_id },
class: "width-33-desktop", id: @champ.numero_allocataire_input_id
2022-08-12 10:45:04 +02:00
%div
= @form.label :code_postal, t('.code_postal_label'), for: @champ.code_postal_input_id
2022-08-12 10:45:04 +02:00
%p.notice= t('.code_postal_notice')
= @form.text_field :code_postal,
required: @champ.required?,
2022-08-12 10:45:04 +02:00
aria: { describedby: @champ.describedby_id },
class: "width-33-desktop",
id: @champ.code_postal_input_id