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.
32 lines
796 B
32 lines
796 B
<?php
|
|
|
|
use yii\helpers\Html;
|
|
use yii\widgets\ActiveForm;
|
|
|
|
/* @var $this yii\web\View */
|
|
/* @var $model common\models\ars\Attribute */
|
|
/* @var $form yii\widgets\ActiveForm */
|
|
?>
|
|
|
|
<div class="attribute-form">
|
|
|
|
<?php $form = ActiveForm::begin(); ?>
|
|
|
|
<?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
|
|
|
|
<?= $form->field($model, 'value')->textarea(['rows' => 6]) ?>
|
|
|
|
<?= $form->field($model, 'type')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'sort_order')->textInput() ?>
|
|
|
|
<?= $form->field($model, 'is_delete')->textInput() ?>
|
|
|
|
<div class="form-group">
|
|
<?= Html::submitButton('保存', ['class' => 'btn btn-success']) ?>
|
|
<?= Html::a('返回', ['index'], ['class' => 'btn btn-info']) ?>
|
|
</div>
|
|
|
|
<?php ActiveForm::end(); ?>
|
|
|
|
</div>
|