}*/ ?> </div>--> <div class="large-1 column"> <div class="field-info"><b>ACD</b>:</div> </div> <div class="large-5 column"> <div class="field-info" id="acd_<?php echo $side; ?> "><?php echo CHtml::encode($element->{'acd_' . $side}); ?> mm</div> </div> </div> <div class="row field-row"> <div class="large-2 column"> <span class="field-info"><b>Status</b>:</span> </div> <div class="large-10 column"> <div class="field-info" id="eye_status_<?php echo $side; ?> "><?php echo Eye_Status::model()->findByPk($element->{"eye_status_{$side}"})->name; ?> </div> </div> </div> </div>
</div> </div> </div> <div class="row"> <div class="large-12 column"> <div class="row field-row"> <div class="large-4 column"> <span class="field-info">Status:</span> </div> <div class="large-7 column"> <?php if ($this->is_auto) { echo '<div class="readonly-box">' . Eye_Status::model()->findByPk($element->{"eye_status_{$side}"})->name . '</div>'; } else { ?> <?php $eye_status_data = Eye_Status::model()->findAll(); echo CHtml::dropDownList('Element_OphInBiometry_Measurement[eye_status_' . $side . ']', 'Element_OphInBiometry_Measurement[eye_status_' . $side . ']', CHtml::listData($eye_status_data, 'id', 'name'), array('options' => array($element->{"eye_status_{$side}"} => array('selected' => true)))); ?> <?php } ?> </div> <div class="large-1 column"></div> </div> </div> </div> </div>