feat (api particulier): add Pole emploi field

This commit is contained in:
François Vantomme 2021-12-01 10:21:30 +01:00 committed by simon lehericey
parent 4cfc9f7d86
commit 6ab8ac0662
28 changed files with 429 additions and 58 deletions

View file

@ -40,6 +40,8 @@
= render partial: "shared/champs/cnaf/show", locals: { champ: c, profile: profile }
- when TypeDeChamp.type_champs.fetch(:dgfip)
= render partial: "shared/champs/dgfip/show", locals: { champ: c, profile: profile }
- when TypeDeChamp.type_champs.fetch(:pole_emploi)
= render partial: "shared/champs/pole_emploi/show", locals: { champ: c, profile: profile }
- when TypeDeChamp.type_champs.fetch(:address)
= render partial: "shared/champs/address/show", locals: { champ: c }
- when TypeDeChamp.type_champs.fetch(:communes)

View file

@ -0,0 +1,7 @@
.pole_emploi-inputs
%div
= form.label :identifiant, t('.identifiant_label')
%p.notice= t('.identifiant_notice')
= form.text_field :identifiant,
required: champ.mandatory?,
aria: { describedby: describedby_id(champ) }