demarches-normaliennes/app/views/shared/dossiers/editable_champs/_pays.html.haml
2021-08-31 13:15:26 +02:00

4 lines
294 B
Text

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