Remove some unused locals in the champs partial inclusions
This commit is contained in:
parent
0a185fb76b
commit
60c845986c
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
|||
- champs = @dossier.ordered_champs.decorate
|
||||
- if champs.any?
|
||||
.card
|
||||
= render partial: 'new_gestionnaire/dossiers/champs', locals: { champs: champs, dossier: @dossier, demande_seen_at: nil }
|
||||
= render partial: 'new_gestionnaire/dossiers/champs', locals: { champs: champs, demande_seen_at: nil }
|
||||
|
||||
- if @dossier.procedure.use_api_carto
|
||||
.tab-title Cartographie
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
- champs = @dossier.ordered_champs.includes(:type_de_champ).decorate
|
||||
- if champs.any?
|
||||
.card
|
||||
= render partial: "champs", locals: { champs: champs, dossier: @dossier, demande_seen_at: @demande_seen_at }
|
||||
= render partial: "champs", locals: { champs: champs, demande_seen_at: @demande_seen_at }
|
||||
|
||||
- if @dossier.procedure.use_api_carto
|
||||
.tab-title Cartographie
|
||||
|
|
Loading…
Reference in a new issue