protected function compile()
    {
        if (!$this->bootstrap_buttonStyle) {
            $this->bootstrap_buttonStyle = 'btn-default';
        }

        $buttons = Factory::createFromFieldset($this->bootstrap_buttons);
        $buttons->eachChild(array($this, 'addButtonStyle'));

        $this->Template->buttons = $buttons;
    }