<?php
$this->breadcrumbs=array(
	'Aporte Voluntarios'=>array('index'),
	'Prenomina',
);

$this->menu=array(
	array('label'=>'List AporteVoluntario','url'=>array('index')),
	array('label'=>'Manage AporteVoluntario','url'=>array('admin')),
);
?>

<h3 style="text-align: center;">Generar Prenomina</h3>
<?php
    foreach(Yii::app()->user->getFlashes() as $key => $message) {
        echo '<div class="alert alert-' . $key . '">' . $message . "</div>\n";
    }
?>
<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
	'id'=>'prenomina-form',
	'enableAjaxValidation'=>false,
        'type'=>'horizontal',
)); ?>
	<p class="help-block">Los campos con <span class="required">*</span> son obligatorios.</p>

	<?php echo $form->errorSummary($model); ?>
        <?php 
        
            echo $form->dropDownListRow($modelAsociado,'idunidad',
            CHtml::listData(ParamBancos::model()->findAll(' blnborrado=false'), 'id', 'descripcion'),array('class'=>'input-xlarge','onchange'=>'cuenta()','prompt' => 'Seleccione un Banco'));?>
       

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