protected function _wrapInputGroup($addonOrButtons) {
        if ($addonOrButtons) {
            $template = 'inputGroupButtons';
            if (is_string($addonOrButtons)) {
                $addonOrButtons = $this->_makeIcon($addonOrButtons);
                if (!Matching::findTagOrAttribute(
                        'button', ['type' => 'submit'], $addonOrButtons)) {
                    $template = 'inputGroupAddons';
                }
            }
            else {
                $addonOrButtons = implode('', $addonOrButtons);
            }
            $addonOrButtons = $this->formatTemplate($template, [
                'content' => $addonOrButtons
            ]);
        }
        return $addonOrButtons;
    }