Skip to content

Commit 76effb5

Browse files
committed
Format general terms field correctly.
1 parent 43cf37f commit 76effb5

File tree

1 file changed

+1
-1
lines changed
  • backend/src/collective/volto/formsupport/processors

1 file changed

+1
-1
lines changed

backend/src/collective/volto/formsupport/processors/email.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def prepare_message(self, admin=False):
183183
form_fields += admin_info.replace("\n", "<br/>") + "<br/><br/>"
184184

185185
def format_property(factory, value):
186-
if factory == "label_boolean_field":
186+
if factory == "label_boolean_field" or factory == "termsAccepted":
187187
if value == True:
188188
return self.context.translate(
189189
_("Yes"),

0 commit comments

Comments
 (0)