Skip to content

Commit

Permalink
Dev: fix 119c2a7 : good name for question type selector
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Apr 8, 2013
1 parent 495c30c commit fa7a625
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions application/views/admin/survey/Question/editQuestion_view.php
Expand Up @@ -151,16 +151,16 @@
{
$aQtypeData[]=array('code'=>$key,'description'=>$questionType['description'],'group'=>$questionType['group']);
}
echo CHtml::dropDownList('question_type','category',CHtml::listData($aQtypeData,'code','description','group'),
array('class' => 'none','options' => array($eqrow['type']=>array('selected'=>true))));
echo CHtml::dropDownList('type','category',CHtml::listData($aQtypeData,'code','description','group'),
array('class' => 'none','id'=>'question_type','options' => array($eqrow['type']=>array('selected'=>true)))
);
}
}
else
{

$qtypelist=getQuestionTypeList('','array');
echo "{$qtypelist[$eqrow['type']]['description']} - ".$clang->gT("Cannot be changed (survey is active)"); ?>
<input type='hidden' name='type' id='question_type' value='<?php echo $eqrow['type']; ?>' />
<input type='hidden' name='type' id='question_type' value='<?php echo $eqrow['type']; ?>' />
<?php } ?>

</li>
Expand Down

0 comments on commit fa7a625

Please sign in to comment.