Replace ok with circle for boolean icon
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
6a73124df2
commit
085a93d4a5
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
module IconsHelper
|
||||
def boolean_to_icon(value)
|
||||
if value.to_s == "true"
|
||||
content_tag :i, nil, class: 'icon-ok cgreen'
|
||||
content_tag :i, nil, class: 'icon-circle cgreen'
|
||||
else
|
||||
content_tag :i, nil, class: 'icon-off clgray'
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue