Update existing test for icon class changes

This commit is contained in:
Christopher C. Wells 2021-08-30 04:20:43 -07:00 committed by Christopher Charbonneau Wells
parent 2c029d3579
commit 8fd9680284
1 changed files with 1 additions and 1 deletions

View File

@ -16,5 +16,5 @@ def bool_icon(value):
classes = 'icon-true text-success' classes = 'icon-true text-success'
else: else:
classes = 'icon-false text-danger' classes = 'icon-false text-danger'
icon_html = '<i class="icon {}" aria-hidden="true"></i>'.format(classes) icon_html = '<i class="{}" aria-hidden="true"></i>'.format(classes)
return mark_safe(icon_html) return mark_safe(icon_html)