@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | [ |
53 | 53 | 'label' => Yii::t('app', 'Preview'), |
54 | 54 | 'format' => 'raw', |
55 | - 'content' => function ($model) { |
|
55 | + 'content' => function($model) { |
|
56 | 56 | return Html::a(Yii::t('app', 'Preview'), ['content/preview', 'id' => $model->id], ['class' => 'btn btn-primary']); |
57 | 57 | }, |
58 | 58 | ], |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | 'controller' => 'content', |
62 | 62 | 'template' => '{view} {update} {delete} {toggle}', |
63 | 63 | 'buttons' => [ |
64 | - 'toggle' => function ($url, $model) { |
|
64 | + 'toggle' => function($url, $model) { |
|
65 | 65 | return Html::a('<span class="glyphicon glyphicon-'.($model->enabled ? 'pause' : 'play').'"></span>', $url); |
66 | 66 | }, |
67 | 67 | ], |