public function loadModel($id)
 {
     $model = ProMasterFloorType::model()->findByPk($id);
     if ($model === null) {
         throw new CHttpException(404, 'The requested page does not exist.');
     }
     return $model;
 }
Beispiel #2
0
echo $form->labelEx($model, 'furnished', array('label' => 'Furnished', 'class' => 'lb'));
?>
                <ul class="list-check list-check-2 clearfix">
                    <?php 
echo $form->radioButtonList($model, 'furnished', ProMasterFurnished::getListData(), array('separator' => '  '));
?>
                </ul>
                <?php 
echo $form->error($model, 'furnished');
?>

                <?php 
echo $form->labelEx($model, 'floor', array('label' => 'Floor', 'class' => 'lb'));
?>
                <?php 
echo $form->dropDownList($model, 'floor', ProMasterFloorType::getListData("enquiry"));
?>
                <?php 
echo $form->error($model, 'floor');
?>

                <?php 
echo $form->labelEx($model, 'lease_term', array('label' => 'Lease Term', 'class' => 'lb'));
?>
                <?php 
echo $form->dropDownList($model, 'lease_term', ProMasterLeaseTerm::getListData("enquiry"));
?>
                <?php 
echo $form->error($model, 'lease_term');
?>