Remove some unused locals in the champs partial inclusions

This commit is contained in:
gregoirenovel 2017-12-15 11:27:17 +01:00
parent 0a185fb76b
commit 60c845986c
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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