Fix multiple-selection values display when no value is given

This commit is contained in:
gregoirenovel 2017-11-21 10:01:29 +01:00
parent c5b678242a
commit 899e20ebcc

View file

@ -10,10 +10,11 @@
%th.libelle
= "#{c.libelle} :"
%td.rich-text
%ul
- c.value.split(", ").each do |item|
%li
= item
- if c.value.present?
%ul
- c.value.split(", ").each do |item|
%li
= item
- else
%th.libelle
= "#{c.libelle} :"