Commit df091b15 by Qiang Xue

Merge pull request #895 from iJackUA/patch-1

Fix parenthesis typo in CRUD index template
parents f4cbadb3 73cdbb37
...@@ -63,7 +63,7 @@ foreach ($generator->getTableSchema()->columns as $column) { ...@@ -63,7 +63,7 @@ foreach ($generator->getTableSchema()->columns as $column) {
'class' => 'item', 'class' => 'item',
), ),
'itemView' => function ($model, $key, $index, $widget) { 'itemView' => function ($model, $key, $index, $widget) {
return Html::a(Html::encode($model-><?php echo $nameAttribute; ?>), array('view', <?php echo $urlParams; ?>); return Html::a(Html::encode($model-><?php echo $nameAttribute; ?>), array('view', <?php echo $urlParams; ?>));
}, },
)); ?> )); ?>
<?php endif; ?> <?php endif; ?>
......
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