1 <div
class=
"vote-widgets-results-widget">
2 <?php
if(Yii::app()->getModule(
'vote')->debug): ?>
4 <div>In percents: <?php echo $this->inPercents ?
'true' :
'false' ?></div>
5 <div>Precision: <?php echo $this->precision ?></div>
6 <div>Show
for unvoted: <?php echo $this->unvotedShow ?
'true' :
'false' ?></div>
9 <?php $this->widget(
'vote.widgets.ChartWidget', array(
10 'title' => $question->text,
11 'rows' => $statistics,
12 'units' => $this->inPercents ?
'%' :
'',