?>
				<span class="small-px silent"><?php 
echo Yii::t('phrase', 'The city (or locality) line of the postal address for this business');
?>
</span>
			</div>
		</div>

		<div class="clearfix">
			<label><?php 
echo $model->getAttributeLabel('office_province');
?>
 <span class="required">*</span></label>
			<div class="desc">
				<?php 
echo $form->dropDownList($model, 'office_province', OmmuZoneProvince::getProvince($model->office_country));
?>
				<?php 
echo $form->error($model, 'office_province');
?>
			</div>
		</div>

		<div class="clearfix">
			<label><?php 
echo $model->getAttributeLabel('office_zipcode');
?>
 <span class="required">*</span></label>
			<div class="desc">
				<?php 
echo $form->textField($model, 'office_zipcode', array('maxlength' => 6, 'class' => 'span-3'));
 /**
  * Lists all models.
  */
 public function actionSuggest($id = null)
 {
     if ($id == null) {
         if (isset($_GET['term'])) {
             $criteria = new CDbCriteria();
             $criteria->condition = 'province LIKE :province';
             $criteria->select = "province_id, province";
             $criteria->order = "province_id ASC";
             $criteria->params = array(':province' => '%' . strtolower($_GET['term']) . '%');
             $model = OmmuZoneProvince::model()->findAll($criteria);
             if ($model) {
                 foreach ($model as $items) {
                     $result[] = array('id' => $items->province_id, 'value' => $items->province);
                 }
             }
         }
         echo CJSON::encode($result);
         Yii::app()->end();
     } else {
         $model = OmmuZoneProvince::getProvince($id);
         $message['data'] = '<option value="">' . Yii::t('phrase', 'Select one') . '</option>';
         foreach ($model as $key => $val) {
             $message['data'] .= '<option value="' . $key . '">' . $val . '</option>';
         }
         echo CJSON::encode($message);
     }
 }