34 lines
817 B
PHP
34 lines
817 B
PHP
|
<?php
|
||
|
|
||
|
use yii\helpers\Html;
|
||
|
use yii\widgets\ActiveForm;
|
||
|
|
||
|
/** @var yii\web\View $this */
|
||
|
/** @var app\models\User $model */
|
||
|
/** @var yii\widgets\ActiveForm $form */
|
||
|
?>
|
||
|
|
||
|
<div class="user-form">
|
||
|
|
||
|
<?php $form = ActiveForm::begin(); ?>
|
||
|
|
||
|
<?= $form->field($model, 'id')->textInput() ?>
|
||
|
|
||
|
<?= $form->field($model, 'username')->textInput(['maxlength' => true]) ?>
|
||
|
|
||
|
<?= $form->field($model, 'password')->passwordInput(['maxlength' => true]) ?>
|
||
|
|
||
|
<?= $form->field($model, 'auth_key')->textInput(['maxlength' => true]) ?>
|
||
|
|
||
|
<?= $form->field($model, 'email')->textInput(['maxlength' => true]) ?>
|
||
|
|
||
|
<?= $form->field($model, 'status')->textInput() ?>
|
||
|
|
||
|
<div class="form-group">
|
||
|
<?= Html::submitButton('Save', ['class' => 'btn btn-success']) ?>
|
||
|
</div>
|
||
|
|
||
|
<?php ActiveForm::end(); ?>
|
||
|
|
||
|
</div>
|