[Fix #775] If champ type is a multiple drop down list then display it properly
This commit is contained in:
parent
560ce3d04a
commit
53bb7b07da
1 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,8 @@ class Champ < ActiveRecord::Base
|
|||
case type_champ
|
||||
when 'date'
|
||||
Date.parse(value).strftime('%d/%m/%Y')
|
||||
when 'multiple_drop_down_list'
|
||||
drop_down_list.selected_options_without_decorator(self).join(', ')
|
||||
else
|
||||
value.to_s
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue