title = '用户注册'; $this->params['breadcrumbs'][] = $this->title; $verifyProvider = Yii::$app->params['verifyProvider']; if ($verifyProvider === 'reCAPTCHA') { $this->registerJsFile('https://www.recaptcha.net/recaptcha/api.js?hl=zh-CN', ['async' => true, 'defer' => true]); } elseif ($verifyProvider === 'hCaptcha') { $this->registerJsFile('https://js.hcaptcha.com/1/api.js?hl=zh-CN', ['async' => true, 'defer' => true]); } elseif ($verifyProvider === 'Turnstile') { $this->registerJsFile('https://challenges.cloudflare.com/turnstile/v0/api.js', ['async' => true, 'defer' => true]); } ?>

title) ?>

请在下方输入注册用户所需的信息:

field($model, 'username')->label('用户名')->textInput(['autofocus' => true]) ?> field($model, 'password')->passwordInput()->label('密码') ?> field($model, 'password2')->passwordInput()->label('重复密码') ?> field($model, 'email')->label('电子邮箱') ?>
'btn btn-primary']) ?>