You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.3 KiB
45 lines
1.3 KiB
<?php
|
|
|
|
use yii\bootstrap4\Html;
|
|
use yii\bootstrap4\ActiveForm;
|
|
use kartik\tabs\TabsX;
|
|
|
|
/* @var $this yii\web\View */
|
|
/* @var $model common\models\ars\ExpressTemplate */
|
|
|
|
$this->title = '创建 Express Template';
|
|
$this->params['breadcrumbs'][] = ['label' => 'Express Templates', 'url' => ['index']];
|
|
$this->params['breadcrumbs'][] = $this->title;
|
|
Yii::$app->params['bsVersion'] = '4.x';
|
|
?>
|
|
<div class="express-template-create">
|
|
<div class="express-template-form">
|
|
|
|
<?php
|
|
$form = ActiveForm::begin(['options' => ['class' => 'container-fluid']]);
|
|
|
|
echo TabsX::widget([
|
|
'bordered' => true,
|
|
'items' => [
|
|
[
|
|
'label' => '<i class="fas fa-user"></i> 基本信息',
|
|
'content' => $this->render('_form', [
|
|
'model' => $model,
|
|
'form' => $form,
|
|
]),
|
|
],
|
|
],
|
|
'position' => TabsX::POS_ABOVE,
|
|
'encodeLabels' => false
|
|
]);
|
|
?>
|
|
|
|
<div class="form-group">
|
|
<?= Html::submitButton('保存', ['class' => 'btn btn-success']) ?>
|
|
<?= Html::a('返回', ['index'], ['class' => 'btn btn-info']) ?>
|
|
</div>
|
|
|
|
<?php ActiveForm::end(); ?>
|
|
|
|
</div>
|
|
</div>
|