diff --git a/src/Bridges/Latte/Macros/BS3InputMacros.php b/src/Bridges/Latte/Macros/BS3InputMacros.php index 1aaf3df..0d1179f 100644 --- a/src/Bridges/Latte/Macros/BS3InputMacros.php +++ b/src/Bridges/Latte/Macros/BS3InputMacros.php @@ -36,7 +36,7 @@ public static function input(Html $input, BaseControl $control, $isPart) } elseif ($name === 'input' && ($input->type === 'submit' || $input->type === 'reset')) { $input->setName('button'); - $input->add($input->value); + $input->addHtml($input->value); $input->addClass('btn'); }