<?php
 $form=$this->beginWidget('bootstrap.widgets.TbActiveForm', array(
	'id'=>'aportes-funerario-form',
	'type' => 'horizontal',
    'enableAjaxValidation' => false,
    'enableClientValidation' => true,
    'clientOptions' => array(
        'validateOnSubmit' => true,
        'validateOnChange' => true,
        'validateOnType' => true,
        ),
    'htmlOptions' => array('enctype' => 'multipart/form-data'),
)); 

 $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
    ),
));

?>
<p class="note"><span class="required">*</span> Campos Obligatorios</p>
<div class="row">
    <div class="span12">
        <?php echo CHtml::label('<strong>Num. Comprobante de Pago:</strong>',''); 
         echo CHtml::textField('comprobante','',array('maxlength'=>30,'style'=>'width: 200px; height:20px;')) . '<span class="required"> *</span>';  
        ?>
        
      </div>
      
      <div class="span12">
        <?php echo CHtml::label('<strong>Descripci&oacute;n:</strong>',''); 
         echo CHtml::textField('descripcion','',array('maxlength'=>150,'style'=>'width: 600px; height:20px;')) . '<span class="required"> *</span>';  
        ?>
        
      </div>
      
      <div class="span12">
         <?php 
         echo CHtml::label('<strong>Archivo:</strong>',''); 
         echo $form->fileField($model,'txt') . '<span class="required"> *</span>'; 
         echo $form->error($model, 'txt'); 
        ?>
      </div>
</div>

 <hr />
		
		<?php $this->widget('bootstrap.widgets.TbButton', array(
			'buttonType' => 'submit',
			'type' => 'success',
			'id' => 'btn_registrar',
			'label' => 'Cargar Archivo',

    ));
              ?>

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