$f_aceptar =& HTML_QuickForm::createElement('submit', 'aceptar' , $accion);
$f_cancelar =& HTML_QuickForm::createElement('submit', 'cancelar', 'Cancelar', array ('onClick' => 'javascript:window.location = \'sistemas-permisos?idSistema='.$idSistema.'\';return false;'));
$group = array ($f_aceptar, $f_cancelar);
$f_group =& $FORM->addGroup($group,'botones', '', ', ');
if ($accion == 'Eliminar') {
$f_aceptar =& HTML_QuickForm::createElement('submit', 'aceptar' , $accion);
$f_cancelar =& HTML_QuickForm::createElement('submit', 'cancelar', 'Cancelar', array ('onClick' => 'javascript:window.location = \'sistemas-permisos?idSistema='.$idSistema.'\';return false;'));
$group = array ($f_aceptar, $f_cancelar);
$f_group =& $FORM->addGroup($group,'botones', '', ', ');
if ($accion == 'Eliminar') {