<?php

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

/* @var $this yii\web\View */
/* @var $model common\models\Article */
/* @var $model common\models\Article */
/* @var $module string */

$this->title = '新增人才';
$this->params['breadcrumbs'][] = ['label' => '人才', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<?php $this->beginBlock('content-header') ?>
<?= $this->title . ' ' . Html::a('列表', ['index'], ['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>
