<?php

use yii\bootstrap\Nav;
use yii\helpers\Html;

/* @var $this yii\web\View */
/* @var $model common\models\Article */
/* @var $moduleModel yii\db\ActiveRecord */

$this->title = '更新人才';
$this->params['breadcrumbs'][] = ['label' => '人才', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->title, 'url' => ['view', 'id' => $model->id]];
$this->params['breadcrumbs'][] = '更新';
?>
<?php $this->beginBlock('content-header') ?>
<?= $this->title . ' ' . Html::a('新增人才', ['create'], ['class' => 'btn btn-success']) ?>
<?php $this->endBlock() ?>
<div class="row">
    <div class="col-md-3">
        <div class="box box-solid">
            <div class="box-body no-padding">
                <?= Nav::widget([
                    'options' => [
                        'class' => 'nav nav-pills nav-stacked',
                    ],
                    'items' => $articleModuleItems
                ]) ?>
            </div>
        </div>
    </div>
    <div class="col-md-9">
        <?= $this->render('_form', [
            'model' => $model,
            'moduleModel' => $moduleModel,
            'module' => $module
        ]) ?>
    </div>
</div>