Commit 1f0244be authored by Shakarim Sapa's avatar Shakarim Sapa

- Тест

parent c9d5fd95
......@@ -57,7 +57,6 @@ $blocks = \common\modules\content\models\CoBlocks::find()->all();
<?= $form->field($model, 'file')->fileInput() ?>
<ul class="nav nav-pills">
<?php var_dump($model->getLangsHelper()); ?>
<?php $c = 0; foreach ($model->getLangsHelper() as $i => $content) : $c++; ?>
<li class="<?=($c==1?'active':'')?>"><a href="#lang-<?=$content->lang->url?>" data-toggle="tab"><?=$content->lang->name?></a></li>
<?php endforeach; ?>
......
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