[Fix #1614] Show newlines for textarea champs

This commit is contained in:
Frederic Merizen 2018-03-15 10:55:10 +01:00
parent a02e749c03
commit 6c669ccc39
2 changed files with 8 additions and 0 deletions

View file

@ -40,6 +40,12 @@
= pj.filename.to_s
- else
Pièce justificative non fournie
- when "textarea"
%th.libelle
= "#{c.libelle} :"
%td.rich-text
%span{ class: highlight_if_unseen_class(demande_seen_at, c.updated_at) }
= simple_format(c.value)
- else
%th.libelle
= "#{c.libelle} :"