public function renderButtons()
    {
        $buttons = array();
        foreach ($this->getButtons() as $button) {
            $buttons[] = $this->renderElement($button);
        }
        return $this->getActiveFormWidget()->createFormActions($buttons);
    }