2023-08-17 16:43:39 +02:00
|
|
|
|
.fr-fieldset__element
|
2023-08-21 16:18:31 +02:00
|
|
|
|
= @form.label :code_departement, for: @champ.code_departement_input_id, class: 'fr-label' do
|
|
|
|
|
- "Le département de l’EPCI"
|
2023-08-17 16:43:39 +02:00
|
|
|
|
= @form.select :code_departement, departement_options, departement_select_options, required: @champ.required?, id: @champ.code_departement_input_id, class: "width-33-desktop width-100-mobile fr-select"
|
|
|
|
|
|
2023-01-19 09:43:19 +01:00
|
|
|
|
- if @champ.departement?
|
2023-08-17 16:43:39 +02:00
|
|
|
|
.fr-fieldset__element
|
|
|
|
|
.fr-select-group
|
2023-08-21 16:18:31 +02:00
|
|
|
|
= @form.label :value, for: @champ.epci_input_id, class: 'fr-label' do
|
|
|
|
|
- "EPCI"
|
2023-08-17 16:43:39 +02:00
|
|
|
|
= @form.select :value, epci_options, epci_select_options, required: @champ.required?, id: @champ.epci_input_id, aria: { describedby: @champ.describedby_id }, class: "width-33-desktop width-100-mobile fr-select"
|