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:
gregoirenovel 2017-11-21 10:11:21 +01:00 committed by GitHub
commit d3c2dabb21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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} :"