/** * Renders a button * * @param Button $button * * @return string * * @since 2.0 */ public function renderButton(Button $button) { $button->setAttribute('class', trim($button->getAttribute('class') . ' btn btn-default')); return $button->render($this); }