TbForm::renderButtons PHP Method

renderButtons() public method

Render the buttons as TbFormButtonElement
public renderButtons ( ) : string
return string
    public function renderButtons()
    {
        $output = '';
        foreach ($this->getButtons() as $button) {
            $output .= $this->renderElement($button) . ' ';
        }
        //form-actions div wrapper only if not is inline form
        if ($output !== '' && $this->getActiveFormWidget()->type !== 'inline') {
            $output = "<div class=\"form-actions\">\n" . $output . "</div>\n";
        }
        return $output;
    }