demarches-normaliennes/app/views/shared/dossiers/editable_champs/_communes.html.haml
2020-10-08 15:26:14 +02:00

3 lines
204 B
Text

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