fix(outdated code) Remove useless condition

This commit is contained in:
Corinne Durrmeyer 2024-11-05 14:23:08 +01:00
parent 95acc0adb6
commit 4ad4f9be0b
No known key found for this signature in database
GPG key ID: DDC049DDA35585B6

View file

@ -5,9 +5,3 @@
- render EditableChamp::ChampLabelContentComponent.new form: @form, champ: @champ, seen_at: @seen_at
- elsif @champ.legend_label?
%legend.fr-fieldset__legend.fr-text--regular{ id: @champ.labelledby_id }= render EditableChamp::ChampLabelContentComponent.new form: @form, champ: @champ, seen_at: @seen_at
- elsif @champ.single_checkbox?
-# no label to add
- else
-# champ civilite (and other?)
.fr-label.fr-mb-1w{ id: @champ.labelledby_id }
= render EditableChamp::ChampLabelContentComponent.new form: @form, champ: @champ, seen_at: @seen_at