From: Matthias Schmidt Date: Sun, 20 Dec 2020 09:51:09 +0000 (+0100) Subject: Add field CSS class support for `CheckboxFormField` X-Git-Tag: 5.4.0_Alpha_1~525^2~10 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d576fee103bc48468835b661acfa0e9d31de1790;p=GitHub%2FWoltLab%2FWCF.git Add field CSS class support for `CheckboxFormField` --- diff --git a/com.woltlab.wcf/templates/__checkboxFormField.tpl b/com.woltlab.wcf/templates/__checkboxFormField.tpl index af2e22d073..c9348455f5 100644 --- a/com.woltlab.wcf/templates/__checkboxFormField.tpl +++ b/com.woltlab.wcf/templates/__checkboxFormField.tpl @@ -2,7 +2,15 @@
diff --git a/wcfsetup/install/files/acp/templates/__checkboxFormField.tpl b/wcfsetup/install/files/acp/templates/__checkboxFormField.tpl index af2e22d073..c9348455f5 100644 --- a/wcfsetup/install/files/acp/templates/__checkboxFormField.tpl +++ b/wcfsetup/install/files/acp/templates/__checkboxFormField.tpl @@ -2,7 +2,15 @@
diff --git a/wcfsetup/install/files/lib/system/form/builder/field/CheckboxFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/CheckboxFormField.class.php index 7df2a5b09e..6e541b716b 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/CheckboxFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/CheckboxFormField.class.php @@ -11,7 +11,9 @@ use wcf\system\WCF; * @package WoltLabSuite\Core\System\Form\Builder\Field * @since 5.3 */ -class CheckboxFormField extends BooleanFormField { +class CheckboxFormField extends BooleanFormField implements ICssClassFormField { + use TCssClassFormField; + /** * @inheritDoc */