Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $form = \yii\bootstrap\ActiveForm::begin([
- 'id' => 'shop-stage',
- 'layout' => 'horizontal',
- ]);
- $stageView = Yii::getAlias("@app/cart/stages/name.php");
- if (is_file($stageView)) {
- $eventData = empty($eventData) ? [] : $eventData;
- /*Подключение менюшки к админке layouts/admin/main.php*/
- echo Yii::$app->controller->renderPartial($stageView,
- array_merge($eventData, [
- 'form' => $form,
- ])
- );
- }
- ?>
- <?php \yii\bootstrap\ActiveForm::end();?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement