frowRecordId($publicacion);
$integrantes = $obTbPublicacion->frowRecordsIntegrantes($publicacion);
$integrantes2 = $obTbPublicacion->frowRecordsIntegrantes2($publicacion);
$form['#action'] = url('telematica/publicacion_editada');
$form['#attributes'] = array('enctype' => "multipart/form-data");
$form['nombre'] = array(
'#type' => 'textfield',
'#required' => TRUE,
'#description' => t('Nombre'),
'#value' => $row->nombre);
$form['resumen'] = array(
'#type' => 'textarea',
'#required' => TRUE,
'#description' => t('resumen'),
'#value' => $row->resumen);
$form['descripcion'] = array(
'#type' => 'textarea',
'#required' => TRUE,
'#description' => t('Descripcion'),
'#value' => $row->descripcion);
$form['integrantes'] = array(
'#type' => 'checkboxes',
'#default_value' => $integrantes2,
'#options' => $integrantes,
'#prefix' => t('Lista de Integrantes')
);
$form['archivo'] = array (
'#type' => 'file',
'#description'=> t('Ajuntar Archivo') );
$form['adicionar_integrantes'] = array(
'#type' => 'markup',
'#value' => "" . t('Adicionar Integrantes') . "
",
);
$form['id'] = array (
'#type' => 'hidden',
'#value' => $row->id);
$form['submit'] = array (
'#type' => 'submit',
'#value' => t('Modificar Publicación'));
return $form;
}