clean(haml): remove commented code

This commit is contained in:
simon lehericey 2022-10-17 10:16:52 +02:00 committed by LeSim
parent 7114623285
commit 6832b12bd4

View file

@ -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,