' . join("\n", $this->fields);
if (count($this->buttons)) {
$html .= "\n\n\t\t" . '
';
$html .= "\n\t\t" . sprintf('{notempty name="vo.id"}
{/notempty}', $this->variable);
$html .= "\n\t\t" . sprintf('
%s
', "\n\t\t\t" . join("\n\t\t\t", $this->buttons) . "\n\t\t");
$html .= "\n\t" . '
';
}
return $html . "\n