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

5 lines
474 B
Text
Raw Normal View History

2023-01-19 09:43:19 +01:00
%label.notice{ for: departement_input_id } Le département de lEPCI
2023-03-21 11:23:45 +01:00
= @form.select :code_departement, departement_options, departement_select_options, required: @champ.required?, id: departement_input_id, class: "width-33-desktop width-100-mobile"
2023-01-19 09:43:19 +01:00
- if @champ.departement?
2023-03-21 11:23:45 +01:00
= @form.select :value, epci_options, epci_select_options, required: @champ.required?, id: @champ.input_id, aria: { describedby: @champ.describedby_id }, class: "width-33-desktop width-100-mobile"