Commit b331bf4d authored by Shakarim Sapa's avatar Shakarim Sapa

- Добавлен tooltip

parent cbce9a86
...@@ -31,7 +31,7 @@ use yii\grid\GridView; ...@@ -31,7 +31,7 @@ use yii\grid\GridView;
[ [
'attribute' => 'user_id', 'attribute' => 'user_id',
'value' => function($model) { 'value' => function($model) {
return $model->user->getFio(); return Html::tag('span', $model->user->getFio(), ['data-toggle'=>"tooltip", 'data-placement'=>"left", 'title'=>"Tooltip on left"]
} }
], ],
[ [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment