views: fix warning message about incomplete fields for attestation

The labels for the champs and private champs were inverted.
This commit is contained in:
maatinito 2021-03-23 12:45:55 +00:00 committed by Pierre de La Morinerie
parent 922e157e16
commit cc19453f68
2 changed files with 10 additions and 7 deletions

View file

@ -16,7 +16,7 @@
- if unspecified_attestation_champs.present?
.warning
Attention, les valeurs suivantes n'ont pas été renseignées mais sont nécessaires pour pouvoir envoyer une attestation valide :
- unspecified_champs, unspecified_annotations_privees = unspecified_attestation_champs.partition(&:private)
- unspecified_annotations_privees, unspecified_champs = unspecified_attestation_champs.partition(&:private)
- if unspecified_champs.present?
%h4 Champs de la demande