} ?> <fieldset class="field-row"> <legend><strong>Social History</strong></legend> <input type="hidden" name="edit_operation_id" id="edit_operation_id" value="" /> <input type="hidden" name="patient_id" value="<?php echo $this->patient->id; ?> " /> <div class="field-row row"> <div class="<?php echo $form->columns('label'); ?> "> <label for="occupation_id"><?php echo CHtml::encode($social_history->getAttributeLabel('occupation_id')); ?> :</label> </div> <div class="<?php echo $form->columns('field'); ?> "> <?php echo CHtml::activeDropDownList($social_history, 'occupation_id', CHtml::listData(SocialHistoryOccupation::model()->findAll(array('order' => 'display_order asc')), 'id', 'name'), array('empty' => '- Select -')); ?> </div> </div> <div class="field-row row" id="social_history_type_of_job_show_hide" <?php if (@(!$social_history->type_of_job->name) == 'Other (specify)') { ?>