| 12345678910111213141516171819202122232425262728293031323334353637383940 | 
							- <?php
 
- use yii\helpers\Html;
 
- use yii\widgets\DetailView;
 
- /* @var $this yii\web\View */
 
- /* @var $model common\models\Module */
 
- $this->title = $model->name;
 
- $this->params['breadcrumbs'][] = ['label' => Yii::t('common', 'Modules'), 'url' => ['index']];
 
- $this->params['breadcrumbs'][] = $this->title;
 
- ?>
 
- <div class="module-view">
 
-     <p>
 
-         <?= Html::a(Yii::t('common', 'Update'), ['update', 'id' => $model->id], ['class' => 'btn btn-success']) ?>
 
-         <?= Html::a(Yii::t('common', 'Delete'), ['delete', 'id' => $model->id], [
 
-             'class' => 'btn btn-danger',
 
-             'data' => [
 
-                 'confirm' => Yii::t('common', 'Are you sure you want to delete this item?'),
 
-                 'method' => 'post',
 
-             ],
 
-         ]) ?>
 
-     </p>
 
-     <?= DetailView::widget([
 
-         'model' => $model,
 
-         'attributes' => [
 
-             'id',
 
-             'name',
 
-             'title',
 
-             'status',
 
-             'author',
 
-             'desc',
 
-             'created_at:datetime',
 
-             'updated_at:datetime',
 
-         ],
 
-     ]) ?>
 
- </div>
 
 
  |