title = 'Карточка товара - ' . $model->name; $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Details Descriptions'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?>

title) ?>

$model, 'attributes' => [ 'name', 'brand', // 'tecdoc_id', // 'tecdoc_article', 'description', // 'tecdoc_description', // 'supplier_description', // 'article', // 'image', 'tecdoc_image', // 'category_id', ], ]) ?> $dataProvider, 'showHeader' => false, 'showOnEmpty' => false, 'columns' => [ 'key', 'value', ['class' => \yii\grid\ActionColumn::className(), 'template'=>'{delete}', 'buttons' => [ 'delete' => function ($url, $model, $key) { $url = \yii\helpers\Url::to(['details-description/delete-criteria', 'name' => $model->name, 'brand' => $model->brand, 'key' => $model->key]); return Html::a('', $url, [ 'title' => Yii::t('yii', 'Удалить характеристики'), 'data-confirm' => 'Вы уверены что хотите удалить эти характеристики?', 'data-method' => 'post', 'data-pjax' => '1', ]); }, ], ], ], ]); Pjax::end(); } ?>
['details-description/create-criteria'],]); ?> field( $criteria_model, 'key', [ 'horizontalCssClasses' => [ 'input' => 'col-sm-1', ]] )->textInput() ?> field( $criteria_model, 'value', [ 'horizontalCssClasses' => [ 'input' => 'col-sm-1', ]] )->textInput() ?> field( $criteria_model, 'name' )->hiddenInput(['value' => $model->name])->label(false)?> field( $criteria_model, 'brand' )->hiddenInput(['value' => $model->brand])->label(false) ?>
'btn btn-success']) ?>