$FORM->addElement ('header', 'cabecera', 'ABM Permisos');
$FORM->addElement ('hidden', 'id_permiso');
$FORM->addElement ('text' , 'desc_permiso', 'Descripcion', array('size'=>'50'));
$FORM->addElement ('header', 'cabecera', 'ABM Permisos');
$FORM->addElement ('hidden', 'id_permiso');
$FORM->addElement ('text' , 'desc_permiso', 'Descripcion', array('size'=>'50'));
- $FORM->addElement ('static', 'responsable' , 'Responsable', $_SESSION['samurai']['login']);
+ $FORM->addElement ('hidden', 'responsable' , $_SESSION['samurai']['login']);
$group[] = HTML_QuickForm::createElement('submit', 'aceptar' , 'Grabar');
$group[] = HTML_QuickForm::createElement('submit', 'cancelar', 'Cancelar', array ('onClick' => 'javascript:history.go(-1);return true;'));
$FORM->addGroup($group,'botones');
$group[] = HTML_QuickForm::createElement('submit', 'aceptar' , 'Grabar');
$group[] = HTML_QuickForm::createElement('submit', 'cancelar', 'Cancelar', array ('onClick' => 'javascript:history.go(-1);return true;'));
$FORM->addGroup($group,'botones');