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