changeset 476 | 43aeb0631fd0 |
parent 469 | b8d287df9d34 |
child 481 | b523fbdb0081 |
--- a/src/pyams_default_theme/shared/form/__init__.py Mon Oct 07 13:43:35 2019 +0200 +++ b/src/pyams_default_theme/shared/form/__init__.py Mon Oct 07 13:44:25 2019 +0200 @@ -138,6 +138,8 @@ else: field = IFormFieldContainer(self.context).get(widget.field.__name__) if field is not None: + if field.field_type == 'bool': + widget.label = '' widget.placeholder = field.placeholder @button.buttonAndHandler('title', name='submit')