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;
}