add output of the percentage of correct answers
This commit is contained in:
@ -39,6 +39,13 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
],
|
||||
// 'UUID',
|
||||
'score',
|
||||
[
|
||||
'attribute' => 'percent_correct_answers',
|
||||
'value' => function($model) {
|
||||
$percent = $model->percent_correct_answers * 100;
|
||||
return $percent . '%';
|
||||
}
|
||||
],
|
||||
[
|
||||
'attribute' => 'status',
|
||||
'format' => 'raw',
|
||||
|
Reference in New Issue
Block a user