<h3>Validar Información</h3>
<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm', array(
	'id'=>'validar-correo-form',
	'type' => 'horizontal',
    'enableAjaxValidation' => false,
    'enableClientValidation' => true,
    'clientOptions' => array(
        'validateOnSubmit' => true,
        'validateOnChange' => true,
        'validateOnType' => true,
        ),
)); 

 $this->widget('bootstrap.widgets.TbAlert', array(
    'block' => true, // display a larger alert block?
    'fade' => true, // use transitions?
    'closeText' => '×', // close link text - if set to false, no close link is displayed
    'alerts' => array(// configurations per alert type
        'error' => array('block' => true, 'fade' => true, 'closeText' => '×'), // success, info, warning, error or danger
    ),
));
?>
 <div class="alert alert-info"><strong>ATENCIÓN - Mensaje de Información</strong><br />Saludos sr(a). <?php echo $model->nombre . ' ' . $model->apellidos;?>, actualmente usted no posee una dirección de correo electrónico registrada en el sistema, donde la Caja de Ahorro CATTPI puede enviarme información referente a promociones, boletines, noticaciones y demás servicios. Por tal motivo requerimos que registre una mediante el siguiente formulario, donde debe de indicar una dirección de correo valida y verificar que el número de Telefono registrado sea el correcto. </div>
 <p class="note"><span class="required">*</span> Campos Obligatorios</p>
<div class="row">
    <div class="span12">
        <?php echo CHtml::label('<strong>Introduzca su dirección de correo:</strong>',''); 
         echo CHtml::textField('correo','',array('maxlength'=>30,'style'=>'width: 300px; height:20px;')) . '<span class="required"> *</span><span class="empty"> Ejm: direccion@dominio.com</span>';  
        ?>
        
      </div>
      
      <div class="span12">
        <?php echo CHtml::label('<strong>Número Celular:</strong>',''); 
        $cel=$model->celular;
         echo CHtml::textField('celular',"$cel",array('maxlength'=>150,'style'=>'width: 200px; height:20px;')) . '<span class="required"> *</span>';  
        ?>
      </div>
</div>
 <hr />
		
		<?php $this->widget('bootstrap.widgets.TbButton', array(
			'buttonType' => 'submit',
			'type' => 'success',
			'id' => 'btn_registrar',
			'label' => 'Actualizar Información',

    ));
              ?>

<?php $this->endWidget();?>
