fix(dossier): fix user form component migration errors

This commit is contained in:
Paul Chavard 2022-09-01 12:42:48 +02:00
parent 7514bd32d1
commit afefa2bfb4
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@
- 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)
.notice{ id: "#{@champ.describedby_id}-secondary" }= helpers.string_to_html(@champ.drop_down_secondary_description)
= @form.select :secondary_value,
@champ.secondary_options[@champ.primary_value],
{},

View file

@ -11,4 +11,4 @@
.spinner.right.hidden
.siret-info{ id: dom_id(@champ, :siret_info) }
- if @champ.etablissement.present?
= render partial: 'shared/dossiers/editable_champs/etablissement_titre', locals: { etablissement: @champ.etablissement }
= render EditableChamp::EtablissementTitreComponent.new(etablissement: @champ.etablissement)