Merge pull request #954 from sgmap/fix-multiple-value-display
Fix multiple-selection values display when no value is given
This commit is contained in:
commit
d3c2dabb21
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