示例#1
0
		$this->widget('booster.widgets.TbAlert', array(
		    'fade' => true,
		    'closeText' => '¡ENTENDIDO!', // false equals no close link
		    'userComponentId' => 'user',
		));
	}
?>

<p class="help-block">Campos con (<span class="required">*</span>) son requeridos.</p>

<?php echo $form->errorSummary(array($model, $modelFamiliares)); ?>
	
	<?php if ($model->isNewRecord) : ?>

		<?php echo $form->dropDownListGroup($model,'id_vehiculo',array('widgetOptions'=>
			array('data' => Vehiculo::getNumeroControl(), 'htmlOptions'=>array('empty' => 'Seleccione...')
		))); ?>

		<?php echo $form->dropDownListGroup($model,'id_persona',array('widgetOptions'=>
			array('data' => $model->getListaPersonasSinConductor(),'htmlOptions'=>
				array('empty' => 'Seleccione...')
		))); ?>
		
	<?php endif; ?>

	<?php echo $form->dropDownListGroup($model,'con_tip_con',array('widgetOptions'=>
		array('data' => $model->tipoConductor(),'htmlOptions'=>array('empty' => 'Seleccione...')
	))); ?>

	<?php echo $form->dropDownListGroup($model,'con_nac',array('widgetOptions'=>
		array('data' => $model->nacionalidad(),'htmlOptions'=>array('empty' => 'Seleccione...')