protected function generate_radio($attributes)
{
$element = 'rtRadio';
$html = '';
$meta = $this->parse_multiple_options($element, $attributes);
$html .= $this->container_enclosed_elements($element, $meta['attrib'], $meta['rtForm_options']);
if (isset($attributes['show_desc']) && $attributes['show_desc']) {
$html .= $this->generate_element_desc($attributes);
}
$container = '<span ';
if (isset($attributes['class'])) {
$container .= $this->embedd_class($element, $attributes['class']);
} else {
$container .= $this->embedd_class($element);
}
$container .= '>';
$container .= $html;
$container .= '</span>';
return $container;
}