demarches-normaliennes/app/views/shared/dossiers/editable_champs/_departements.html.haml
2021-01-15 11:50:02 +01:00

4 lines
272 B
Text

- hidden_field_id = SecureRandom.uuid
= form.hidden_field :value, { data: { uuid: hidden_field_id } }
= form.hidden_field :external_id, { data: { reference: true } }
= react_component("ComboDepartementsSearch", mandatory: champ.mandatory?, hiddenFieldId: hidden_field_id)