demarches-normaliennes/app/components/editable_champ/communes_component/communes_component.html.haml

13 lines
417 B
Text
Raw Normal View History

- render_parent
2022-08-12 10:45:04 +02:00
= @form.hidden_field :value
= @form.hidden_field :external_id
= @form.hidden_field :departement
= @form.hidden_field :code_departement
= react_component("ComboCommunesSearch",
required: @champ.required?,
2022-08-12 10:45:04 +02:00
id: @champ.input_id,
classNameDepartement: "width-33-desktop width-100-mobile",
className: "width-66-desktop width-100-mobile",
describedby: @champ.describedby_id,
**react_combo_props)