Replace ok with circle for boolean icon

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-06-16 22:31:15 +03:00
parent 6a73124df2
commit 085a93d4a5
No known key found for this signature in database
GPG key ID: 627C5F589F467F17

View file

@ -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