add output of the percentage of correct answers
This commit is contained in:
1 parent
e362ad45a4
commit
84ec9ef9c7
10 files changed
+1313
-6
No files matched your search
@@ -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