Skip to content
Snippets Groups Projects
Verified Commit 085a93d4 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Replace ok with circle for boolean icon

parent 6a73124d
No related branches found
No related tags found
No related merge requests found
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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment