Merge pull request #8513 from demarches-simplifiees/feature/prefill_repetible
Prefill repeatable
This commit is contained in:
commit
67bbacbb05
46 changed files with 589 additions and 289 deletions
|
@ -12,6 +12,6 @@ class PrefillTypeDeChampsController < ApplicationController
|
|||
end
|
||||
|
||||
def set_prefill_type_de_champ
|
||||
@type_de_champ = TypesDeChamp::PrefillTypeDeChamp.build(@procedure.active_revision.types_de_champ_public.fillable.find(params[:id]))
|
||||
@type_de_champ = TypesDeChamp::PrefillTypeDeChamp.build(@procedure.active_revision.types_de_champ.fillable.find(params[:id]), @procedure.active_revision)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue