fix(dossier): fix user form component migration errors
This commit is contained in:
parent
7514bd32d1
commit
afefa2bfb4
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
||||||
- if @champ.type_de_champ.mandatory?
|
- if @champ.type_de_champ.mandatory?
|
||||||
%span.mandatory *
|
%span.mandatory *
|
||||||
- if @champ.drop_down_secondary_description.present?
|
- 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,
|
= @form.select :secondary_value,
|
||||||
@champ.secondary_options[@champ.primary_value],
|
@champ.secondary_options[@champ.primary_value],
|
||||||
{},
|
{},
|
||||||
|
|
|
@ -11,4 +11,4 @@
|
||||||
.spinner.right.hidden
|
.spinner.right.hidden
|
||||||
.siret-info{ id: dom_id(@champ, :siret_info) }
|
.siret-info{ id: dom_id(@champ, :siret_info) }
|
||||||
- if @champ.etablissement.present?
|
- if @champ.etablissement.present?
|
||||||
= render partial: 'shared/dossiers/editable_champs/etablissement_titre', locals: { etablissement: @champ.etablissement }
|
= render EditableChamp::EtablissementTitreComponent.new(etablissement: @champ.etablissement)
|
||||||
|
|
Loading…
Reference in a new issue