demarches-normaliennes/app/components/editable_champ/communes_component/communes_component.html.haml
2024-02-13 12:26:43 +01:00

2 lines
343 B
Text

= render Dsfr::ComboboxComponent.new form: @form, url: data_sources_data_source_commune_path, selected: [@champ.to_s, @champ.selected], limit: 20, input_html_options: { name: :external_id, id: @champ.input_id, class: 'fr-select', describedby: @champ.describedby_id } do
= @form.hidden_field :code_postal, data: { value_slot: 'data:string' }