fix a11y-8.9.1

no p tag when Champ text with no value
This commit is contained in:
Christophe Robillard 2022-02-02 18:03:24 +01:00
parent 1f219de931
commit 447612abdf
3 changed files with 3 additions and 2 deletions

View file

@ -57,7 +57,7 @@
- when TypeDeChamp.type_champs.fetch(:number)
= number_with_html_delimiter(c.to_s)
- else
= format_text_value(c.to_s)
= format_text_value(c.to_s) unless c.blank?
- if c.type_champ != TypeDeChamp.type_champs.fetch(:header_section)
%td.updated-at