*}id="{@$field->getPrefixedId()}" {*
*}name="{@$field->getPrefixedId()}" {*
*}value="{$field->getValue()}"{*
+ *}{if !$field->getFieldClasses()|empty} class="{implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
*}>{$field->getButtonLabel()}</button>
*}id="{@$field->getPrefixedId()}" {*
*}name="{@$field->getPrefixedId()}" {*
*}value="{$field->getValue()}"{*
+ *}{if !$field->getFieldClasses()|empty} class="{implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
*}>{$field->getButtonLabel()}</button>
* @package WoltLabSuite\Core\System\Form\Builder\Field
* @since 5.4
*/
-class ButtonFormField extends AbstractFormField {
+class ButtonFormField extends AbstractFormField implements ICssClassFormField {
+ use TCssClassFormField;
+
/**
* text shown on the button
* @var ?string