_user.php 536 B

1234567891011121314151617181920
  1. <?php
  2. /*
  3. * This file is part of the Dektrium project.
  4. *
  5. * (c) Dektrium project <http://github.com/dektrium>
  6. *
  7. * For the full copyright and license information, please view the LICENSE.md
  8. * file that was distributed with this source code.
  9. */
  10. /**
  11. * @var yii\widgets\ActiveForm $form
  12. * @var dektrium\user\models\User $user
  13. */
  14. ?>
  15. <?= $form->field($user, 'email')->textInput(['maxlength' => 255]) ?>
  16. <?= $form->field($user, 'username')->textInput(['maxlength' => 255]) ?>
  17. <?= $form->field($user, 'password')->passwordInput() ?>