blob: ecb6ef7be455df0a1f5ef2d393260dc76f353acc (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
module Ci
module IconsHelper
def boolean_to_icon(value)
if value.to_s == "true"
content_tag :i, nil, class: 'fa-circle cgreen'
else
content_tag :i, nil, class: 'fa-power-off clgray'
end
end
end
end
|