<div class="wide form"> <?php $form = $this->beginWidget('CActiveForm', array('action' => Yii::app()->createUrl($this->route), 'method' => 'get')); ?> <table> <tr> <td> <?php echo $form->label($model, 'biobank_id'); ?> <?php $biobank = new Biobank(); echo $form->dropDownList($model, 'biobank_id', $biobank->getArrayBiobank($biobank_id)); ?> </td> <td> <?php echo $form->label($model, 'field_age_min'); ?> <?php echo $form->textField($model, 'field_age_min', array('size' => 10, 'maxlength' => 3)); ?> </td> <td> <?php echo $form->label($model, 'storage_conditions'); echo $form->dropDownList($model, 'storage_conditions', $model->getArrayStorage(), array('prompt' => '----')); ?> </td>