Skip to content
Snippets Groups Projects
Commit e6cb8c8f authored by Fynn Becker's avatar Fynn Becker :crab:
Browse files

Ensure evaluation of lazily translated checkboxes

parent 47598a33
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ class BulmaFieldMarkup(object):
@classmethod
def checkbox(cls, field, content):
"""Checkboxes are super special, they wrap the input field with the label"""
return cls.div_control(cls.label(mark_safe(content + ' ' + field.label), css_class='checkbox'))
return cls.div_control(cls.label(mark_safe(content + ' ' + str(field.label)), css_class='checkbox'))
@classmethod
def radio(cls, field, content):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment