38 lines
1.2 KiB
PHP
Executable File
38 lines
1.2 KiB
PHP
Executable File
<?php
|
|
use yii\helpers\Html;
|
|
use yii\widgets\ActiveForm;
|
|
|
|
/* @var $this yii\web\View */
|
|
/* @var $model backend\models\AuthItem */
|
|
|
|
$this->title = '更新粉丝';
|
|
?>
|
|
<div class="wrapper wrapper-content">
|
|
<div class="ibox-content">
|
|
<div class="row pd-4">
|
|
<h1><?= Html::encode($this->title) ?></h1>
|
|
<hr>
|
|
<div class="auth-item-form col-sm-4">
|
|
<?php $form = ActiveForm::begin(); ?>
|
|
|
|
<?= $form->field($model, 'id')->hiddenInput()->label('')?>
|
|
|
|
<?= $form->field($model, 'mobile')->textInput(['readonly'=>true])->label('账号') ?>
|
|
|
|
<?= $form->field($model, 'email')->textInput(['placeholder'=>''])->label('邮箱')?>
|
|
|
|
<?= $form->field($model, 'auth_key_new')->textInput(['value'=>''])->label('密码')?>
|
|
<?= $form->field($model, 'auth_key')->hiddenInput()->label(false)?>
|
|
|
|
<?= $form->field($model, 'status' )->dropDownList($status,['disabled'=>false])->label('状态')?>
|
|
|
|
<div class="form-group">
|
|
<?= Html::submitButton('保存', ['class' => 'btn btn-primary']) ?>
|
|
</div>
|
|
|
|
<?php ActiveForm::end(); ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|