Skip to content

Commit d6f0245

Browse files
authored
Merge pull request demarche-numerique#12512 from demarche-numerique/fix-display-alert-unspecified-champs-ldu
[fix] ETQ instructeur on m'affiche correctement les champs manquants pour une attestation
2 parents 392d822 + 54f2815 commit d6f0245

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

app/views/instructeurs/dossiers/_unspecified_champs.html.haml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,15 @@
44
- c.with_body do
55
%p
66
= t('instructeurs.dossiers.alert_unspecified_attestation_champs')
7-
%br
8-
-# = link_to t('instructeurs.dossiers.alert_error_annotations_link'), annotations_privees_instructeur_dossier_path(dossier.procedure, dossier, statut: params[:statut]), class: 'fr-link'
97

108
- unspecified_annotations_privees, unspecified_champs = unspecified_attestation_champs.partition(&:private?)
119

1210
- if unspecified_champs.present?
1311
%p.fr-text--sm.fr-text--bold
1412
Champs de la demande
15-
- unspecified_attestation_champs.each do |unspecified_champ|
13+
- unspecified_champs.each do |unspecified_champ|
1614
.fr-mb-1v
17-
%li= unspecified_champ.libelle
15+
= unspecified_champ.libelle
1816

1917
- if unspecified_annotations_privees.present?
2018
%p.fr-text--sm.fr-text--bold

0 commit comments

Comments
 (0)