!!FIX BUG : values does not appear on info dossier
This commit is contained in:
parent
e1d1e356e5
commit
a316165792
2 changed files with 6 additions and 0 deletions
|
@ -4,6 +4,7 @@ class ChampDecorator < Draper::Decorator
|
|||
if type_champ == 'checkbox'
|
||||
return object.value == 'on' ? 'Oui' : 'Non'
|
||||
end
|
||||
object.value
|
||||
end
|
||||
|
||||
def type_champ
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue