create.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. use yii\helpers\Html;
  3. use yii\bootstrap\Nav;
  4. /* @var $this yii\web\View */
  5. /* @var $model common\models\Article */
  6. /* @var $model common\models\Article */
  7. /* @var $module string */
  8. $this->title = '新增人才';
  9. $this->params['breadcrumbs'][] = ['label' => '人才', 'url' => ['index']];
  10. $this->params['breadcrumbs'][] = $this->title;
  11. ?>
  12. <?php $this->beginBlock('content-header') ?>
  13. <?= $this->title . ' ' . Html::a('列表', ['index'], ['class' => 'btn btn-success']) ?>
  14. <?php $this->endBlock() ?>
  15. <div class="row">
  16. <div class="col-md-3">
  17. <div class="box box-solid">
  18. <div class="box-body no-padding">
  19. <?= Nav::widget([
  20. 'options' => [
  21. 'class' => 'nav nav-pills nav-stacked',
  22. ],
  23. 'items' => $articleModuleItems
  24. ]) ?>
  25. </div>
  26. </div>
  27. </div>
  28. <div class="col-md-9">
  29. <?= $this->render('_form', [
  30. 'model' => $model,
  31. 'moduleModel' => $moduleModel,
  32. 'module' => $module
  33. ]) ?>
  34. </div>
  35. </div>