Hi, I have a form in the CMS, with a CheckboxField and other elements. The form is rendered in two columns, the left contains the field name (in bold style), and the right column contains the field control. This is for all the fields, except for the checkbox: a label appears next to the checkbox, which is fine, but the left column is empty, no bold field name there. How can I add a bold field name for checkboxes?
The code that creates the fields is:
$fields->addFieldsToTab('Root.Other', array(
CheckboxField::create('Enabled'),
TextField::create('Title', "Title"),
TreeDropdownField::create("LinkID", "Linked page", 'SiteTree'),
UploadField::create('Image', "Image")
));