We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7931d52 commit 47841bfCopy full SHA for 47841bf
flask_admin/model/typefmt.py
@@ -36,8 +36,8 @@ def bool_formatter(view, value):
36
Value to check
37
"""
38
glyph = 'ok-circle' if value else 'minus-sign'
39
- fa = 'fas fa-check-circle' if value else 'far fa-circle'
40
- return Markup('<span class="%s glyphicon glyphicon-%s icon-%s"></span>' % (fa, glyph, glyph))
+ fa = 'fa-check-circle' if value else 'fa-minus-circle'
+ return Markup('<span class="fa %s glyphicon glyphicon-%s icon-%s"></span>' % (fa, glyph, glyph))
41
42
43
def list_formatter(view, values):
0 commit comments