From 6832b12bd4a08f2cde46acae0460f006faa9dac8 Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Mon, 17 Oct 2022 10:16:52 +0200 Subject: [PATCH] clean(haml): remove commented code --- .../linked_drop_down_list_component.html.haml | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/components/editable_champ/linked_drop_down_list_component/linked_drop_down_list_component.html.haml b/app/components/editable_champ/linked_drop_down_list_component/linked_drop_down_list_component.html.haml index 8cb380438..04d9962e1 100644 --- a/app/components/editable_champ/linked_drop_down_list_component/linked_drop_down_list_component.html.haml +++ b/app/components/editable_champ/linked_drop_down_list_component/linked_drop_down_list_component.html.haml @@ -7,8 +7,6 @@ .secondary{ class: @champ.has_secondary_options_for_primary? ? '' : 'hidden' } = @form.label :secondary_value, for: "#{@champ.input_id}-secondary" do - sanitize((@champ.drop_down_secondary_libelle.presence || "Valeur secondaire dépendant de la première") + (@champ.type_de_champ.mandatory? ? tag.span(' *', class: 'mandatory') : '')) - -# - if @champ.type_de_champ.mandatory? - -# %span.mandatory * - if @champ.drop_down_secondary_description.present? .notice{ id: "#{@champ.describedby_id}-secondary" }= string_to_html(@champ.drop_down_secondary_description) = @form.select :secondary_value,