You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
769 B
33 lines
769 B
<?php
|
|
|
|
use yii\helpers\Html;
|
|
use yii\widgets\DetailView;
|
|
|
|
/* @var $this yii\web\View */
|
|
/* @var $model backend\modules\goods\models\ars\Attribute */
|
|
|
|
$this->title = $model->name;
|
|
$this->params['breadcrumbs'][] = ['label' => '规格管理', 'url' => ['index']];
|
|
$this->params['breadcrumbs'][] = $this->title;
|
|
\yii\web\YiiAsset::register($this);
|
|
?>
|
|
<div class="attribute-view">
|
|
|
|
<p>
|
|
<?= Html::a('返回列表', ['index'], ['class' => 'btn btn-success']) ?>
|
|
</p>
|
|
|
|
<?= DetailView::widget([
|
|
'model' => $model,
|
|
'attributes' => [
|
|
'id',
|
|
'name',
|
|
'value:ntext',
|
|
'type',
|
|
'sort_order',
|
|
'created_at:datetime',
|
|
'updated_at:datetime',
|
|
],
|
|
]) ?>
|
|
|
|
</div>
|