style(demande): italic for empty champ value (accordingly to mockup)

This commit is contained in:
Colin Darie 2023-06-27 14:40:01 +02:00
parent 8724212d83
commit d7cc5a8091
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

View file

@ -16,7 +16,8 @@
- if champ.blank? && ![TypeDeChamp.type_champs.fetch(:piece_justificative), TypeDeChamp.type_champs.fetch(:titre_identite)].include?(champ.type_champ)
.champ-content.fr-text-mention--grey{ class: [highlight_if_unseen_class(@demande_seen_at, champ.updated_at), champ.type_champ] }
%p= t('.blank')
%p
%em= t('.blank')
- else
.champ-content{ class: [highlight_if_unseen_class(@demande_seen_at, champ.updated_at), champ.type_champ] }
- case champ.type_champ