add import button

parent 455b8fe0
...@@ -50,6 +50,9 @@ $this->registerJs($js, yii\web\View::POS_READY, 'expnd.info'); ...@@ -50,6 +50,9 @@ $this->registerJs($js, yii\web\View::POS_READY, 'expnd.info');
<p> <p>
<?= Html::a('Добавить', ['create'], ['class' => 'btn btn-success']) ?> <?= Html::a('Добавить', ['create'], ['class' => 'btn btn-success']) ?>
<?php if($test_id) : ?>
<?= Html::a('Импорт вопросов из XLS', ['/testings/test-admin/import-tests', 'id' => $test_id], ['class' => 'btn btn-info']) ?>
<?php endif; ?>
</p> </p>
<?php echo AdminGrid::widget([ <?php echo AdminGrid::widget([
......
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