Skip to content

Commit

Permalink
Token link added.
Browse files Browse the repository at this point in the history
  • Loading branch information
mhunesi committed Apr 28, 2020
1 parent 3b12891 commit 60dfb83
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/views/forms/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,13 @@
return Html::a($model->name,['forms/view','id' => $model->id]);
}
],
'token',
[
'attribute' => 'token',
'format' => 'raw',
'value' => function($model){
return Html::a($model->token,['survey/index','token' => $model->token],['target' => '_blank','data-pjax' => 0]);
}
],
'model',
//'data',
'created_at:datetime',
Expand Down

0 comments on commit 60dfb83

Please sign in to comment.