| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 | 
							- <?php
 
- use yii\helpers\Html;
 
- use yii\widgets\DetailView;
 
- /* @var $this yii\web\View */
 
- /* @var $model common\models\Article */
 
- $this->title = $model->title;
 
- $this->params['breadcrumbs'][] = ['label' => '人才', 'url' => ['index']];
 
- $this->params['breadcrumbs'][] = $this->title;
 
- ?>
 
- <div class="article-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',
 
-             'title',
 
-             [
 
-                 'attribute' => 'content',
 
-                 'label' => '内容',
 
-                 'value' => \yii\helpers\Markdown::process($model->data->content),
 
-                 'format' => 'raw',
 
-             ],
 
-             'category',
 
-             'created_at:datetime',
 
-             'updated_at:datetime',
 
-             'status',
 
-             'cover',
 
-         ],
 
-     ]) ?>
 
- </div>
 
 
  |