annulation des modifs précédentes
This commit is contained in:
parent
bfd455986f
commit
a2389f14af
1 changed files with 2 additions and 7 deletions
|
@ -1,11 +1,6 @@
|
||||||
= # we do this trick because some html elements should use 'label' and some should be plain paragraphs
|
= # we do this trick because some html elements should use 'label' and some should be plain paragraphs
|
||||||
|
|
||||||
- if @champ.html_label?
|
- if @champ.html_label?
|
||||||
- if @champ.piece_justificative? && !@champ.procedure.piece_justificative_multiple
|
|
||||||
-# champ piece_justificative : remove the asociation with the input
|
|
||||||
= @form.label @champ.main_value_name, id: @champ.labelledby_id, class: 'fr-label' do
|
|
||||||
- render EditableChamp::ChampLabelContentComponent.new form: @form, champ: @champ, seen_at: @seen_at
|
|
||||||
- else
|
|
||||||
= @form.label @champ.main_value_name, id: @champ.labelledby_id, for: @champ.input_id, class: 'fr-label' do
|
= @form.label @champ.main_value_name, id: @champ.labelledby_id, for: @champ.input_id, class: 'fr-label' do
|
||||||
- render EditableChamp::ChampLabelContentComponent.new form: @form, champ: @champ, seen_at: @seen_at
|
- render EditableChamp::ChampLabelContentComponent.new form: @form, champ: @champ, seen_at: @seen_at
|
||||||
- elsif @champ.legend_label?
|
- elsif @champ.legend_label?
|
||||||
|
|
Loading…
Reference in a new issue