Fix multiple-selection values display when no value is given
This commit is contained in:
parent
c5b678242a
commit
899e20ebcc
1 changed files with 5 additions and 4 deletions
|
@ -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} :"
|
||||
|
|
Loading…
Reference in a new issue