2020-10-07 17:42:41 +02:00
|
|
|
- hidden_field_id = SecureRandom.uuid
|
|
|
|
= form.hidden_field :value, { data: { uuid: hidden_field_id } }
|
2021-01-14 23:54:32 +01:00
|
|
|
= form.hidden_field :external_id, { data: { reference: true } }
|
2021-11-17 12:52:47 +01:00
|
|
|
= form.hidden_field :departement, { data: { attr: "#{hidden_field_id}:departement" } }
|
|
|
|
= form.hidden_field :code_departement, { data: { attr: "#{hidden_field_id}:code_departement" } }
|
2020-10-07 17:42:41 +02:00
|
|
|
= react_component("ComboCommunesSearch", mandatory: champ.mandatory?, hiddenFieldId: hidden_field_id)
|