form > div.row > div.col-lg-8 { width: 100%; } </style> <?php $addition = isset($addition) ? $addition : ''; $notVisible = isset($notVisible) && is_array($notVisible) ? $notVisible : []; $titleBox = isset($titleBox) ? $titleBox : 'Origin table'; /* @var $this yii\web\View */ /* @var $form yii\widgets\ActiveForm */ /* @var $generator \infinitydevphp\gii\table\Generator */ use insolita\wgadminlte\Box; \yii\web\YiiAsset::register($this); \insolita\wgadminlte\JCookieAsset::register($this); insolita\wgadminlte\ExtAdminlteAsset::register($this); \dmstr\web\AdminLteAsset::register($this); if (!in_array('db', $notVisible)) { echo $form->field($generator, $addition . 'db'); } if (!in_array('migrationPath', $notVisible)) { echo $form->field($generator, $addition . 'migrationPath'); } if (!in_array('useTablePrefix', $notVisible)) { echo $form->field($generator, $addition . 'useTablePrefix')->checkbox(); } Box::begin(['type' => Box::TYPE_PRIMARY, 'withBorder' => true, 'title' => $titleBox, 'collapse' => true]); if (!in_array('migrationName', $notVisible)) { echo $form->field($generator, $addition . 'migrationName')->hiddenInput()->label(false); } if (!in_array('tableName', $notVisible)) { echo $form->field($generator, $addition . 'tableName');
<?php use yii\helpers\Html; use dmstr\helpers\AdminLteHelper; use backend\assets\AppAsset; use dmstr\web\AdminLteAsset; /* @var $this \yii\web\View */ /* @var $content string */ AppAsset::register($this); AdminLteAsset::register($this); $directoryAsset = Yii::$app->assetManager->getPublishedUrl('@vendor/almasaeed2010/adminlte/dist'); $this->beginPage(); ?> <!DOCTYPE html> <html lang="<?php echo Yii::$app->language; ?> "> <head> <meta charset="<?php echo Yii::$app->charset; ?> "/> <meta name="viewport" content="width=device-width, initial-scale=1"> <?php echo Html::csrfMetaTags(); ?> <title><?php echo Html::encode($this->title); ?> </title>